prepare win32 config for MSVC 2008
This commit is contained in:
parent
fc34dd557d
commit
fb5b1eb0fb
1 changed files with 2 additions and 0 deletions
|
@ -547,10 +547,12 @@ typedef int int_t;
|
|||
/* perl uses a different typedef, this will avoid it */
|
||||
typedef unsigned short mode_t;
|
||||
|
||||
#if _MSC_VER < 1500
|
||||
struct pollfd { int fd; short events; short revents; };
|
||||
#define POLLIN 1
|
||||
#define POLLPRI 2
|
||||
#define POLLOUT 4
|
||||
#define POLLERR 8
|
||||
#endif
|
||||
|
||||
#define _CRT_SECURE_NO_WARNINGS
|
||||
|
|
Reference in a new issue