[multiple changes]
[gcc.git] / gcc / ada / socket.c
index ab5368f6d0c2e7aaa5f75d8bff54f0c134d3ada3..310de25029f870929a2c979cbd66ffa677249ba5 100644 (file)
 
 /*  This file provides a portable binding to the sockets API                */
 
+/* Ensure access to errno is thread safe.  */
+#define _REENTRANT
+#define _THREAD_SAFE
+
 #include "gsocket.h"
 
 #if defined(VMS)