summaryrefslogtreecommitdiff
path: root/gcc/ada/gsocket.h
diff options
context:
space:
mode:
authordoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>2008-04-07 12:31:41 +0000
committerdoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>2008-04-07 12:31:41 +0000
commit9d093602e03a80e9878b448dba638cea3167d503 (patch)
treec4c189f4e345c4b9a9a9df89c2f784f91abfe95c /gcc/ada/gsocket.h
parent1ac4dadbe2c311e7188f13ad8f2c8383229ee191 (diff)
downloadgcc-9d093602e03a80e9878b448dba638cea3167d503.tar.gz
2008-04-07 Aurelien Jarno <aurelien@aurel32.net>
* sysdep.c: add __GLIBC__ to the #ifdef preprocessor macros to detect systems using GNU libc. * gsocket.h: ditto. * socket.c: ditto. * adaint.c: ditto. * link.c: ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133979 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/gsocket.h')
-rw-r--r--gcc/ada/gsocket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/gsocket.h b/gcc/ada/gsocket.h
index bfdf1233cee..ce4d47801d6 100644
--- a/gcc/ada/gsocket.h
+++ b/gcc/ada/gsocket.h
@@ -175,7 +175,7 @@
#if defined (_AIX) || defined (__FreeBSD__) || defined (__hpux__) || defined (__osf__) || defined (_WIN32) || defined (__APPLE__)
# define HAVE_THREAD_SAFE_GETxxxBYyyy 1
-#elif defined (sgi) || defined (linux) || (defined (sun) && defined (__SVR4) && !defined (__vxworks))
+#elif defined (sgi) || defined (linux) || defined (__GLIBC__) || (defined (sun) && defined (__SVR4) && !defined (__vxworks))
# define HAVE_GETxxxBYyyy_R 1
#endif