summaryrefslogtreecommitdiffstats
path: root/otherlibs/threads/scheduler.c
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2000-03-17 16:45:18 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2000-03-17 16:45:18 +0000
commitb1fa3c7002497bd0246aff7ec056378aa31c88a7 (patch)
treeb919cc2ea13603302f69ccf156b8e2cf82e60e70 /otherlibs/threads/scheduler.c
parent485d38567d396b3c9460b8c634d3b6b74ffb90a4 (diff)
Portage AIX 4.3
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2973 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/threads/scheduler.c')
-rw-r--r--otherlibs/threads/scheduler.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/otherlibs/threads/scheduler.c b/otherlibs/threads/scheduler.c
index 895e4a26d..e05fbe576 100644
--- a/otherlibs/threads/scheduler.c
+++ b/otherlibs/threads/scheduler.c
@@ -48,16 +48,6 @@
#include <sys/select.h>
#endif
-#ifndef FD_ISSET
-/* Assume old-style BSD 4.2 fd sets */
-typedef int fd_set;
-#define FD_SETSIZE (sizeof(int) * 8)
-#define FD_SET(fd,fds) (*(fds) |= 1 << (fd))
-#define FD_CLR(fd,fds) (*(fds) &= ~(1 << (fd)))
-#define FD_ISSET(fd,fds) (*(fds) & (1 << (fd)))
-#define FD_ZERO(fds) (*(fds) = 0)
-#endif
-
#ifndef HAS_WAITPID
#define waitpid(pid,status,opts) wait4(pid,status,opts,NULL)
#endif