summaryrefslogtreecommitdiff
path: root/acconfig.h
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>1999-10-19 17:57:56 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>1999-10-19 17:57:56 +0000
commitab55def2c2f6efe9a8e69fa99d06396d4aa9b4fd (patch)
tree445aeac2e108fd7b872440b70a85ebc7b50983a6 /acconfig.h
parent879afb521fe6f1950554f25d8863ad937926b168 (diff)
downloadATCD-ab55def2c2f6efe9a8e69fa99d06396d4aa9b4fd.tar.gz
ChangeLogTag:Tue Oct 19 12:55:16 1999 Ossama Othman <othman@cs.wustl.edu>
Diffstat (limited to 'acconfig.h')
-rw-r--r--acconfig.h21
1 files changed, 17 insertions, 4 deletions
diff --git a/acconfig.h b/acconfig.h
index 89941d6b7b2..c784cb9d540 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -33,11 +33,24 @@
# undef _POSIX_PTHREAD_SEMANTICS
#endif
-/* Some platforms require _GNU_SOURCE to be defined to make some function
- prototypes "visible." */
+/* Some platforms require "feature test" macros to be defined to make
+ some function prototypes "visible." */
#ifndef _GNU_SOURCE
-# undef _GNU_SOURCE
-#endif
+# undef _GNU_SOURCE
+#else
+# ifndef _XOPEN_SOURCE
+# undef _XOPEN_SOURCE
+# endif /*_XOPEN_SOURCE */
+# ifndef _XOPEN_EXTENDED_SOURCE
+# undef _XOPEN_EXTENDED_SOURCE
+# endif /* _XOPEN_EXTENDED_SOURCE */
+# ifndef _LARGEFILE64_SOURCE
+# undef _LARGEFILE64_SOURCE
+# endif /* _LARGEFILE64_SOURCE */
+# ifndef _FILE_OFFSET_BITS
+# undef _FILE_OFFSET_BITS
+# endif /* _FILE_OFFSET_BITS */
+#endif /* _GNU_SOURCE */
/* ACE currently doesn't use these; however the configure script does */
#undef ACE_LACKS_SYSTIMES_H