diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2002-09-01 08:16:44 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2002-09-01 08:16:44 +0000 |
commit | de375fff8f4338e6912d46c0ca50203d7b9d1a59 (patch) | |
tree | 6f0201cefdee4abcb4e59c61b1646fc4aa3b82a3 /ace/Handle_Set.cpp | |
parent | 353622f7742055ae0440ef4f0b3a088c77259138 (diff) | |
download | ATCD-de375fff8f4338e6912d46c0ca50203d7b9d1a59.tar.gz |
ChangeLogTag: Sun Sep 01 2002 08:18:12 UTC Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ace/Handle_Set.cpp')
-rw-r--r-- | ace/Handle_Set.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ace/Handle_Set.cpp b/ace/Handle_Set.cpp index 6e301925e4d..4982cc4f22e 100644 --- a/ace/Handle_Set.cpp +++ b/ace/Handle_Set.cpp @@ -12,12 +12,17 @@ ACE_RCSID(ace, Handle_Set, "$Id$") ACE_ALLOC_HOOK_DEFINE(ACE_Handle_Set) +#if defined (__BORLANDC__) && !defined (ACE_WIN32) +// The Borland C++ compiler on Linux also doesn't have fds_bits, but has __fds_bits. +#define fds_bits __fds_bits +#endif + #if defined (linux) && __GLIBC__ > 1 && __GLIBC_MINOR__ >= 1 && !defined (_XOPEN_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 */ +#endif /* linux && __GLIBC__ > 1 && __GLIBC_MINOR__ >= 1 && !_XOPEN_SOURCE */ void ACE_Handle_Set::dump (void) const |