wangyu-UDPspeeder/my_ev_common.h

16 lines
326 B
C
Raw Permalink Normal View History

2018-06-01 02:51:49 -05:00
#define EV_STANDALONE 1
2023-02-07 05:34:06 -05:00
#define EV_COMMON \
void *data; \
unsigned long long u64;
2018-06-01 09:57:38 -05:00
#define EV_COMPAT3 0
2018-06-01 02:51:49 -05:00
//#define EV_VERIFY 2
2018-06-19 18:06:28 +08:00
#if defined(__MINGW32__)
2023-02-07 05:34:06 -05:00
#define EV_FD_TO_WIN32_HANDLE(fd) (fd)
#define EV_WIN32_HANDLE_TO_FD(handle) (handle)
#define EV_WIN32_CLOSE_FD(fd) closesocket(fd)
#define FD_SETSIZE 4096
2018-06-19 18:06:28 +08:00
#endif