summaryrefslogtreecommitdiff
path: root/ace/config-linux-common.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-11-04 14:18:32 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-11-04 14:18:32 +0000
commit59d971e152bc3f57b61ef5a93ee0556a1ef3695b (patch)
treebfa1eb120e024d5f574f7721fb699b70b9b92ad3 /ace/config-linux-common.h
parentdf4a8de7ce506e41e2d181dc26a598fc3716550d (diff)
downloadATCD-59d971e152bc3f57b61ef5a93ee0556a1ef3695b.tar.gz
ChangeLogTag: Thu Nov 04 08:16:25 1999 David L. Levine <levine@cs.wustl.edu>
Diffstat (limited to 'ace/config-linux-common.h')
-rw-r--r--ace/config-linux-common.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/ace/config-linux-common.h b/ace/config-linux-common.h
index 76e37f3908d..f327891e595 100644
--- a/ace/config-linux-common.h
+++ b/ace/config-linux-common.h
@@ -69,12 +69,15 @@
// NOTE: end of glibc 2.0 (0.961212-5)-specific configuration.
# if __GLIBC__ > 1 && __GLIBC_MINOR__ >= 1
-// These were suggested by Robert Hanzlik <robi@codalan.cz> to get
-// ACE to compile on Linux using glibc 2.1 and libg++/gcc 2.8.
+ // These were suggested by Robert Hanzlik <robi@codalan.cz> to get
+ // ACE to compile on Linux using glibc 2.1 and libg++/gcc 2.8.
# undef ACE_HAS_BYTESEX_H
# define ACE_HAS_SIGINFO_T
# define ACE_LACKS_SIGINFO_H
# define ACE_HAS_UCONTEXT_T
+
+ // Pre-glibc (RedHat 5.2) doesn't have sigtimedwait.
+# define ACE_HAS_SIGTIMEDWAIT
# endif /* __GLIBC__ 2.1+ */
#else /* ! __GLIBC__ */
// Fixes a problem with some non-glibc versions of Linux...
@@ -82,6 +85,20 @@
# define ACE_LACKS_MSG_ACCRIGHTS
#endif /* ! __GLIBC__ */
+// Linux has lseek64()
+#define ACE_HAS_LLSEEK
+// Don't define _LARGEFILE64_SOURCE in ACE to make lseek64() prototype
+// visible. ACE shouldn't depend on feature test macros to make
+// prototypes visible.
+#if __GLIBC__ > 1 && __GLIBC_MINOR__ >= 0
+# define ACE_LACKS_LSEEK64_PROTOTYPE
+#endif /* __GLIBC__ > 1 && __GLIBC_MINOR__ >= 0 */
+
+#if __GLIBC__ > 1 && __GLIBC_MINOR__ >= 1
+# define ACE_HAS_P_READ_WRITE
+# define ACE_LACKS_PREAD_PROTOTYPE
+#endif /* __GLIBC__ > 1 && __GLIBC_MINOR__ >= 0 */
+
// Then the compiler specific parts
@@ -102,7 +119,6 @@
// Platform/compiler has the sigwait(2) prototype
# define ACE_HAS_SIGWAIT
-# define ACE_HAS_SIGTIMEDWAIT
# define ACE_HAS_SIGSUSPEND
#if !defined (ACE_DEFAULT_BASE_ADDR)
@@ -192,22 +208,6 @@
#define ACE_HAS_DIRENT
-// Linux has lseek64()
-#define ACE_HAS_LLSEEK
-// Don't define _LARGEFILE64_SOURCE in ACE to make lseek64() prototype
-// visible. ACE shouldn't depend on feature test macros to make
-// prototypes visible.
-#if __GLIBC__ > 1 && __GLIBC_MINOR__ >= 0
-# define ACE_LACKS_LSEEK64_PROTOTYPE
-#endif /* __GLIBC__ > 1 && __GLIBC_MINOR__ >= 0 */
-
-#if __GLIBC__ > 1 && __GLIBC_MINOR__ >= 1
-# define ACE_HAS_P_READ_WRITE
-# define ACE_LACKS_PREAD_PROTOTYPE
-#endif /* __GLIBC__ > 1 && __GLIBC_MINOR__ >= 0 */
-
-
-
# define ACE_UINT64_FORMAT_SPECIFIER "%Lu"
#if !defined (ACE_TIMER_SKEW)