summaryrefslogtreecommitdiff
path: root/main/streams/php_streams_int.h
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2009-12-03 11:50:32 +0000
committerKalle Sommer Nielsen <kalle@php.net>2009-12-03 11:50:32 +0000
commit1063c8346bd319ac3ca5fd6531442ff8fc8ec66c (patch)
treefe19b76eef0ab990cc880474a8bf6e6ee3e58e3d /main/streams/php_streams_int.h
parent0f0f5f229b18e27d07e820cc3863d5dc9ea95fd0 (diff)
downloadphp-git-1063c8346bd319ac3ca5fd6531442ff8fc8ec66c.tar.gz
MFT: VC10 build support
Diffstat (limited to 'main/streams/php_streams_int.h')
-rw-r--r--main/streams/php_streams_int.h5
1 files changed, 4 insertions, 1 deletions
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