projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Ignore *.exe
[awesomized/libmemcached]
/
libmemcached
/
platform.h
diff --git
a/libmemcached/platform.h
b/libmemcached/platform.h
index 8b30f7732a99b4783e781d28dab4f3409a5b4ac2..9eafbb144d0dcd6d562028d00f24e010fa5c8e62 100644
(file)
--- a/
libmemcached/platform.h
+++ b/
libmemcached/platform.h
@@
-16,8
+16,9
@@
#include <winsock2.h>
#include <ws2tcpip.h>
typedef short in_port_t;
#include <winsock2.h>
#include <ws2tcpip.h>
typedef short in_port_t;
+typedef SOCKET memcached_socket_t;
#else
#else
-typedef int
SOCKET
;
+typedef int
memcached_socket_t
;
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netdb.h>