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

index 2ad13052eb0b3353ab554fec529bfcfb616d3853..d40cfefe61374f4e3866b29a5a317e45ff61c2e9 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;