From: Ilia Alshanetsky Date: Wed, 27 Feb 2008 00:30:49 +0000 (+0000) Subject: MFB: Fixed bug #44233 (MSG_PEEK undefined under BeOS R5) X-Git-Tag: RELEASE_2_0_0a1~312 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=94ee2269d6299bd8a4a4e4c9a60b24dac74d7b29;p=php MFB: Fixed bug #44233 (MSG_PEEK undefined under BeOS R5) --- diff --git a/main/streams/xp_socket.c b/main/streams/xp_socket.c index 6d53fdb262..fa7321462f 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;