summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>1998-09-26 02:23:06 +0000
committerwtc%netscape.com <devnull@localhost>1998-09-26 02:23:06 +0000
commit0e8e4d756d08f5e80462276ad87509b345aa9409 (patch)
tree60236f7c5ed28fd07c9f3437d4193dfd9295928c
parent3dc6d705ad3af8386e94df1c3871be89a9895d1e (diff)
downloadnspr-hg-0e8e4d756d08f5e80462276ad87509b345aa9409.tar.gz
poll() doesn't work on some Linux machines, so we go back
to using select().
-rw-r--r--pr/include/md/_linux.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/pr/include/md/_linux.h b/pr/include/md/_linux.h
index c08278f7..cfbecc70 100644
--- a/pr/include/md/_linux.h
+++ b/pr/include/md/_linux.h
@@ -65,10 +65,8 @@
#endif
#define USE_SETJMP
-#if defined(__GLIBC__) && __GLIBC__ >= 2
-#define _PR_POLL_AVAILABLE
-#define _PR_USE_POLL
-#endif
+#undef _PR_POLL_AVAILABLE
+#undef _PR_USE_POLL
#define _PR_STAT_HAS_ONLY_ST_ATIME
#if defined(__alpha)
#define _PR_HAVE_LARGE_OFF_T