Numerous fixes related to compiling for mingw
[m6w6/libmemcached] / libmemcached / common.h
index 5a76faf6da938346e2330f860df5b52b6878ce0e..810886326d1c3842c4d4a85c8ff50bbf4042e6cc 100644 (file)
 # include "poll/poll.h"
 #endif
 
+#ifndef POLLHUP
+# define POLLHUP               0x0010
+#endif
+
+#ifndef POLLNVAL
+# define POLLNVAL      0x0020
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif