diff options
author | wtc%netscape.com <devnull@localhost> | 1998-09-26 00:01:16 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 1998-09-26 00:01:16 +0000 |
commit | 1b7c1bb21d3b82ef2bc9978fa5c8d34e2bfa3a41 (patch) | |
tree | b17d09c2cddfd413895ddafaf69e11dbd1af5a1c | |
parent | 2a98247d76a11de33ad05caba71909209e83d7c8 (diff) | |
download | nspr-hg-1b7c1bb21d3b82ef2bc9978fa5c8d34e2bfa3a41.tar.gz |
Define _PR_POLL_AVAILABLE and _PR_USE_POLL only for glibc2.
-rw-r--r-- | pr/include/md/_linux.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pr/include/md/_linux.h b/pr/include/md/_linux.h index 4e96d367..6e8acc99 100644 --- a/pr/include/md/_linux.h +++ b/pr/include/md/_linux.h @@ -64,8 +64,10 @@ #endif #define USE_SETJMP +#if defined(__GLIBC__) && __GLIBC__ >= 2 #define _PR_POLL_AVAILABLE #define _PR_USE_POLL +#endif #define _PR_STAT_HAS_ONLY_ST_ATIME #if defined(__alpha) #define _PR_HAVE_LARGE_OFF_T |