From 1063c8346bd319ac3ca5fd6531442ff8fc8ec66c Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Thu, 3 Dec 2009 11:50:32 +0000 Subject: MFT: VC10 build support --- main/streams/php_streams_int.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'main/streams/php_streams_int.h') diff --git a/main/streams/php_streams_int.h b/main/streams/php_streams_int.h index 9dc4496a3e..3edb5efbc8 100644 --- a/main/streams/php_streams_int.h +++ b/main/streams/php_streams_int.h @@ -49,7 +49,10 @@ #define CHUNK_SIZE 8192 #ifdef PHP_WIN32 -#define EWOULDBLOCK WSAEWOULDBLOCK +# ifdef EWOULDBLOCK +# undef EWOULDBLOCK +# endif +# define EWOULDBLOCK WSAEWOULDBLOCK #endif #ifndef S_ISREG -- cgit v1.2.1