diff options
author | srinivas%netscape.com <devnull@localhost> | 1998-11-18 22:56:06 +0000 |
---|---|---|
committer | srinivas%netscape.com <devnull@localhost> | 1998-11-18 22:56:06 +0000 |
commit | 49a534ba28446ff01162d1cff211de5271f68555 (patch) | |
tree | 5a204c9b2be6db47d80bbb223025be7eb1ede640 | |
parent | ee5c2e696f37130e38c316e28bfe521c44633d4a (diff) | |
download | nspr-hg-49a534ba28446ff01162d1cff211de5271f68555.tar.gz |
Implement poll for those platforms that don't support the system call.
-rw-r--r-- | pr/include/md/_unixos.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pr/include/md/_unixos.h b/pr/include/md/_unixos.h index a801553f..5d3f523d 100644 --- a/pr/include/md/_unixos.h +++ b/pr/include/md/_unixos.h @@ -461,7 +461,7 @@ extern PRStatus _MD_CloseFileMap(struct PRFileMap *fmap); #define GETTIMEOFDAY(tp) gettimeofday((tp), NULL) #endif -#if defined(LINUX) && defined(_PR_PTHREADS) && !(__GLIBC__ >= 2) +#if defined(_PR_PTHREADS) && !defined(_PR_POLL_AVAILABLE) #define _PR_NEED_FAKE_POLL #endif |