summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-11 16:08:08 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-11 16:08:08 +0000
commit25db436df7db46c612ce25aaa1ef20d24e05faa7 (patch)
tree56eb31a6480aae29e94411199c38396f183efe69
parent82738116494ada0a3ceaaaa734551b4d16591696 (diff)
downloadATCD-25db436df7db46c612ce25aaa1ef20d24e05faa7.tar.gz
ChangeLogTag: Tue Jul 11 11:06:45 2000 Craig Rodrigues <rodrigc@mediaone.net>
-rw-r--r--ChangeLog7
-rw-r--r--ChangeLogs/ChangeLog-02a7
-rw-r--r--ChangeLogs/ChangeLog-03a7
-rw-r--r--ace/config-linux-common.h9
4 files changed, 27 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 879140b3334..425df5733af 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Tue Jul 11 11:06:45 2000 Craig Rodrigues <rodrigc@mediaone.net>
+
+ * ace/config-linux-common.h: in glibc 2.2, the function
+ prototypes for msgsnd() and msgrcv() were changed to be POSIX
+ compliant. So, ACE_LACKS_SOME_POSIX_PROTOTYPES breaks
+ compilation.
+
Tue Jul 11 11:03:50 2000 David L. Levine <levine@cs.wustl.edu>
* bin/make_release: chmod of kits to 664, and chgrp to doc,
diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a
index 879140b3334..425df5733af 100644
--- a/ChangeLogs/ChangeLog-02a
+++ b/ChangeLogs/ChangeLog-02a
@@ -1,3 +1,10 @@
+Tue Jul 11 11:06:45 2000 Craig Rodrigues <rodrigc@mediaone.net>
+
+ * ace/config-linux-common.h: in glibc 2.2, the function
+ prototypes for msgsnd() and msgrcv() were changed to be POSIX
+ compliant. So, ACE_LACKS_SOME_POSIX_PROTOTYPES breaks
+ compilation.
+
Tue Jul 11 11:03:50 2000 David L. Levine <levine@cs.wustl.edu>
* bin/make_release: chmod of kits to 664, and chgrp to doc,
diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a
index 879140b3334..425df5733af 100644
--- a/ChangeLogs/ChangeLog-03a
+++ b/ChangeLogs/ChangeLog-03a
@@ -1,3 +1,10 @@
+Tue Jul 11 11:06:45 2000 Craig Rodrigues <rodrigc@mediaone.net>
+
+ * ace/config-linux-common.h: in glibc 2.2, the function
+ prototypes for msgsnd() and msgrcv() were changed to be POSIX
+ compliant. So, ACE_LACKS_SOME_POSIX_PROTOTYPES breaks
+ compilation.
+
Tue Jul 11 11:03:50 2000 David L. Levine <levine@cs.wustl.edu>
* bin/make_release: chmod of kits to 664, and chgrp to doc,
diff --git a/ace/config-linux-common.h b/ace/config-linux-common.h
index bfddb3417ad..7881fdd4b73 100644
--- a/ace/config-linux-common.h
+++ b/ace/config-linux-common.h
@@ -175,9 +175,12 @@
#define ACE_HAS_GETPAGESIZE 1
-// Platform lacks POSIX prototypes for certain System V functions
-// like shared memory and message queues.
-#define ACE_LACKS_SOME_POSIX_PROTOTYPES
+#if (__GLIBC__ < 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 2)
+ // GLIBC 2.2 and higher doesn't need this macro any more.
+ // Platform lacks POSIX prototypes for certain System V functions
+ // like shared memory and message queues.
+# define ACE_LACKS_SOME_POSIX_PROTOTYPES
+#endif
// Platform defines struct timespec but not timespec_t
#define ACE_LACKS_TIMESPEC_T