diff options
author | Anatol Belski <ab@php.net> | 2017-02-15 11:22:47 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2017-02-15 11:22:47 +0100 |
commit | 89a5bd67500510f30a729ff97048fa230c9f9bd3 (patch) | |
tree | 24103d2adabc7c9e9879e52eacec9e1fed4a25ab /main/streams/php_streams_int.h | |
parent | 391735053181f3d166e4ebb58cf04a8acf3d1724 (diff) | |
download | php-git-89a5bd67500510f30a729ff97048fa230c9f9bd3.tar.gz |
Fixed bug #74090 stream_get_contents maxlength>-1 returns empty string
Diffstat (limited to 'main/streams/php_streams_int.h')
-rw-r--r-- | main/streams/php_streams_int.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main/streams/php_streams_int.h b/main/streams/php_streams_int.h index 42fdfcb4c7..13a817833f 100644 --- a/main/streams/php_streams_int.h +++ b/main/streams/php_streams_int.h @@ -53,6 +53,10 @@ # undef EWOULDBLOCK # endif # define EWOULDBLOCK WSAEWOULDBLOCK +# ifdef EMSGSIZE +# undef EMSGSIZE +# endif +# define EMSGSIZE WSAEMSGSIZE #endif /* This functions transforms the first char to 'w' if it's not 'r', 'a' or 'w' |