Commit 08611be2 by Arnaud Charlet Committed by Pierre-Marie de Rodat

[Ada] Fix warning on _REENTRANT

2019-12-16  Arnaud Charlet  <charlet@adacore.com>

gcc/ada/

	* socket.c: Shutdown warning.

From-SVN: r279436
parent c1c3784b
2019-12-16 Arnaud Charlet <charlet@adacore.com>
* socket.c: Shutdown warning.
2019-12-16 Arnaud Charlet <charlet@adacore.com>
* libgnarl/s-tataat.ads (Deallocator): Mark as Favor_Top_Level.
2019-12-16 Arnaud Charlet <charlet@adacore.com>
......
......@@ -34,7 +34,9 @@
#define ATTRIBUTE_UNUSED __attribute__((unused))
/* Ensure access to errno is thread safe. */
#ifndef _REENTRANT
#define _REENTRANT
#endif
#define _THREAD_SAFE
#include "gsocket.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment