]> granicus.if.org Git - php/commitdiff
MFB: Fixed bug #44233 (MSG_PEEK undefined under BeOS R5)
authorIlia Alshanetsky <iliaa@php.net>
Wed, 27 Feb 2008 00:30:49 +0000 (00:30 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Wed, 27 Feb 2008 00:30:49 +0000 (00:30 +0000)
main/streams/xp_socket.c

index 6d53fdb26233fa56485e834e0cf8de0f8d9307d1..fa7321462fd1a5ee3150e019384f36eb738d9739 100644 (file)
 # 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;