Debian Codegraph @

src/fd.h

raw symbols SCIP
1 #ifndef _LATER_FD_H_
2 #define _LATER_FD_H_
3
4 #ifdef _WIN32
5 #ifndef _WIN32_WINNT
6 #define _WIN32_WINNT 0x0600 // so R <= 4.1 can find WSAPoll() on Windows
7 #endif
8 #include <winsock2.h>
9 #else
10 #include <poll.h>
11 #endif
12
13 #ifdef _WIN32
14 #define LATER_POLL_FUNC WSAPoll
15 #define LATER_NFDS_T ULONG
16 #else
17 #define LATER_POLL_FUNC poll
18 #define LATER_NFDS_T nfds_t
19 #endif
20
21 #endif // _LATER_FD_H_