diff options
author | Kalle Sommer Nielsen <kalle@php.net> | 2009-12-03 11:50:32 +0000 |
---|---|---|
committer | Kalle Sommer Nielsen <kalle@php.net> | 2009-12-03 11:50:32 +0000 |
commit | 1063c8346bd319ac3ca5fd6531442ff8fc8ec66c (patch) | |
tree | fe19b76eef0ab990cc880474a8bf6e6ee3e58e3d /ext/sockets | |
parent | 0f0f5f229b18e27d07e820cc3863d5dc9ea95fd0 (diff) | |
download | php-git-1063c8346bd319ac3ca5fd6531442ff8fc8ec66c.tar.gz |
MFT: VC10 build support
Diffstat (limited to 'ext/sockets')
-rw-r--r-- | ext/sockets/sockets.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c index 0b635f399c..c47d2894e0 100644 --- a/ext/sockets/sockets.c +++ b/ext/sockets/sockets.c @@ -41,6 +41,12 @@ # include "php_sockets.h" # include "win32/sockets.h" # define IS_INVALID_SOCKET(a) (a->bsd_socket == INVALID_SOCKET) +# ifdef EPROTONOSUPPORT +# undef EPROTONOSUPPORT +# endif +# ifdef ECONNRESET +# undef ECONNRESET +# endif # define EPROTONOSUPPORT WSAEPROTONOSUPPORT # define ECONNRESET WSAECONNRESET # ifdef errno |