From 421c805fa9ed6c40b4f7a3a405ba2bd0b2d223b2 Mon Sep 17 00:00:00 2001 From: Ossama Othman Date: Tue, 19 Oct 1999 04:13:59 +0000 Subject: ChangeLogTag:Mon Oct 18 21:32:29 1999 Ossama Othman --- ace/Handle_Set.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ace/Handle_Set.cpp') 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 { -- cgit v1.2.1