diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2008-02-27 00:30:24 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2008-02-27 00:30:24 +0000 |
| commit | 425c4bca2e72e9fa0dafe2bcab9122bf3a579edd (patch) | |
| tree | e85913603aa345ec121e40f5cb7e4ae755d56353 /main/streams/xp_socket.c | |
| parent | 3f40f96c50dac28b350d69aedc6883d90c922c06 (diff) | |
| download | php-git-425c4bca2e72e9fa0dafe2bcab9122bf3a579edd.tar.gz | |
Fixed bug #44233 (MSG_PEEK undefined under BeOS R5)
Diffstat (limited to 'main/streams/xp_socket.c')
| -rw-r--r-- | main/streams/xp_socket.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main/streams/xp_socket.c b/main/streams/xp_socket.c index 2ad13052eb..d40cfefe61 100644 --- a/main/streams/xp_socket.c +++ b/main/streams/xp_socket.c @@ -35,6 +35,10 @@ # define MSG_DONTWAIT 0 #endif +#ifndef MSG_PEEK +# define MSG_PEEK 0 +#endif + php_stream_ops php_stream_generic_socket_ops; PHPAPI php_stream_ops php_stream_socket_ops; php_stream_ops php_stream_udp_socket_ops; |
