diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-01-26 03:34:48 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-01-26 03:34:48 +0000 |
commit | 479663513c16ea70b904082f2d4bafa220d11c85 (patch) | |
tree | 3af0db4566c1381a3c22ba9bf98f11fa559d4621 /ace/config-linux.h | |
parent | 4ce1b40b25b2bc2529e47080ef0ec028cd565abc (diff) | |
download | ATCD-479663513c16ea70b904082f2d4bafa220d11c85.tar.gz |
ChangeLogTag:Thu Jan 25 19:16:48 2001 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'ace/config-linux.h')
-rw-r--r-- | ace/config-linux.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/ace/config-linux.h b/ace/config-linux.h index b1b65b6818f..86cb24df1fc 100644 --- a/ace/config-linux.h +++ b/ace/config-linux.h @@ -28,7 +28,6 @@ #define ACE_HAS_THREAD_SPECIFIC_STORAGE // jcej 12/22/96 #2 #define ACE_LACKS_THREAD_STACK_ADDR // JCEJ 12/17/96 -#define ACE_LACKS_THREAD_STACK_SIZE // JCEJ 12/17/96 #define ACE_LACKS_RWLOCK_T // JCEJ 12/23/96 #1 #define ACE_HAS_RECURSIVE_THR_EXIT_SEMANTICS // JCEJ 1/7-8/96 @@ -37,8 +36,15 @@ // Platform supports reentrant functions (i.e., all the POSIX *_r // functions). #define ACE_HAS_REENTRANT_FUNCTIONS -// getprotobyname_r have a different signature! -#define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS + +#if (__GLIBC__ < 2) || (__GLIBC__ == 2 && __GLIBC__ < 1) + // Older versions of glibc lacked reentrant netdb functions +# define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS + + // glibc < 2.1 lacks pthread_attr_setstacksize() +# define ACE_LACKS_THREAD_STACK_SIZE +#endif /* (__GLIBC__ < 2) || (__GLIBC__ == 2 && __GLIBC__ < 1) */ + // uses ctime_r & asctime_r with only two parameters vs. three #define ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R #endif |