summaryrefslogtreecommitdiff
path: root/ace/Handle_Set.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>1999-10-19 04:13:59 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>1999-10-19 04:13:59 +0000
commit421c805fa9ed6c40b4f7a3a405ba2bd0b2d223b2 (patch)
tree774f09d19ee582141e7e5adbf92d416e83c5981b /ace/Handle_Set.cpp
parentca58e8a7fd33096a55404dabe20d673891f96284 (diff)
downloadATCD-421c805fa9ed6c40b4f7a3a405ba2bd0b2d223b2.tar.gz
ChangeLogTag:Mon Oct 18 21:32:29 1999 Ossama Othman <othman@cs.wustl.edu>
Diffstat (limited to 'ace/Handle_Set.cpp')
-rw-r--r--ace/Handle_Set.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/ace/Handle_Set.cpp b/ace/Handle_Set.cpp
index 45a3ca09705..f04c02e1996 100644
--- a/ace/Handle_Set.cpp
+++ b/ace/Handle_Set.cpp
@@ -12,6 +12,13 @@ ACE_RCSID(ace, Handle_Set, "$Id$")
ACE_ALLOC_HOOK_DEFINE(ACE_Handle_Set)
+#if defined (linux) && __GLIBC__ > 1 && __GLIBC_MINOR__ >= 1 && !defined (_GNU_SOURCE)
+ // XPG4.2 requires the fds_bits member name, so it is not enabled by
+ // default on Linux/glibc-2.1.x systems. Instead use "__fds_bits."
+ // Ugly, but "what are you going to do?" 8-)
+#define fds_bits __fds_bits
+#endif /* linux && __GLIBC__ > 1 && __GLIBC_MINOR__ >= 1 && !_GNU_SOURCE */
+
void
ACE_Handle_Set::dump (void) const
{