1
1

Make select work for MS Windows.

This commit was SVN r14845.
Этот коммит содержится в:
Shiqing Fan 2007-06-04 10:53:04 +00:00
родитель 0961669912
Коммит 90b99e5344

Просмотреть файл

@ -42,7 +42,9 @@
#endif
#include <sys/queue.h>
#include <sys/tree.h>
#ifndef __WINDOWS__
#include <signal.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@ -73,6 +75,11 @@ extern opal_mutex_t opal_event_lock;
extern volatile sig_atomic_t opal_evsignal_caught;
#endif
#ifdef __WINDOWS__
#define NFDBITS 32
int fd_mask;
#endif
struct selectop {
int event_fds; /* Highest fd in fd set */
int event_fdsz;