diff options
Diffstat (limited to 'main/php_network.h')
-rw-r--r-- | main/php_network.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main/php_network.h b/main/php_network.h index 02e2b8ef6b..9f552f352b 100644 --- a/main/php_network.h +++ b/main/php_network.h @@ -40,6 +40,10 @@ # define ftruncate(a, b) chsize(a, b) #endif /* defined(PHP_WIN32) */ +#ifndef EWOULDBLOCK +# define EWOULDBLOCK EAGAIN +#endif + #ifdef PHP_WIN32 #define php_socket_errno() WSAGetLastError() #else |