projects
/
m6w6
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
7eb608b
)
set windows version constants
author
Michael Wallner
<mike@php.net>
Sun, 20 Dec 2020 14:24:58 +0000
(15:24 +0100)
committer
Michael Wallner
<mike@php.net>
Sun, 20 Dec 2020 14:24:58 +0000
(15:24 +0100)
include/libmemcached-1/platform.h
patch
|
blob
|
history
diff --git
a/include/libmemcached-1/platform.h
b/include/libmemcached-1/platform.h
index c0223392f60b59ad083ec8927a93ae36c5a4fb86..ad345f64d354eaef82bb0d953bae550fcf538127 100644
(file)
--- a/
include/libmemcached-1/platform.h
+++ b/
include/libmemcached-1/platform.h
@@
-53,15
+53,11
@@
typedef long int ssize_t;
#endif
#if defined _WIN32
+# define WINVER 0x0600
+# define _WIN32_WINNT 0x0600
# include <winsock2.h>
# include <ws2tcpip.h>
typedef SOCKET memcached_socket_t;
-# if !defined POLLIN
-# define POLLIN (POLLRDNORM|POLLRDBAND)
-# endif
-# if !defined POLLOUT
-# define POLLOUT (POLLWRNORM)
-# endif
#else
typedef int memcached_socket_t;
#endif // _WIN32