]> 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:32:39 +0000 (00:32 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Wed, 27 Feb 2008 00:32:39 +0000 (00:32 +0000)
NEWS
main/streams/xp_socket.c

diff --git a/NEWS b/NEWS
index 908b4b63bd13a36b6aef85fcb17b41f84910faf0..4968482b7b4fd59edd2373ba8b5f23cf14dd13b3 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -14,6 +14,8 @@ PHP                                                                        NEWS
 
 
 - Fixed bug #44242 (metaphone('CMXFXM') crashes PHP). (Felipe)
+- Fixed bug #44233 (MSG_PEEK undefined under BeOS R5). (jonathonfreeman at
+  gmail dot com, Ilia)
 - Fixed bug #44216 (strftime segfaults on large negative value). (Derick)
 - Fixed bug #44200 (A crash in PDO when no bound targets exists and yet 
   bound parameters are present). (Ilia)
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;