summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsrinivas%netscape.com <devnull@localhost>1998-11-18 22:56:06 +0000
committersrinivas%netscape.com <devnull@localhost>1998-11-18 22:56:06 +0000
commit49a534ba28446ff01162d1cff211de5271f68555 (patch)
tree5a204c9b2be6db47d80bbb223025be7eb1ede640
parentee5c2e696f37130e38c316e28bfe521c44633d4a (diff)
downloadnspr-hg-49a534ba28446ff01162d1cff211de5271f68555.tar.gz
Implement poll for those platforms that don't support the system call.
-rw-r--r--pr/include/md/_unixos.h2
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