iliaa           Wed Feb 27 00:30:24 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/main/streams       xp_socket.c 
  Log:
  Fixed bug #44233 (MSG_PEEK undefined under BeOS R5)
  
  
http://cvs.php.net/viewvc.cgi/php-src/main/streams/xp_socket.c?r1=1.33.2.2.2.6.2.1&r2=1.33.2.2.2.6.2.2&diff_format=u
Index: php-src/main/streams/xp_socket.c
diff -u php-src/main/streams/xp_socket.c:1.33.2.2.2.6.2.1 
php-src/main/streams/xp_socket.c:1.33.2.2.2.6.2.2
--- php-src/main/streams/xp_socket.c:1.33.2.2.2.6.2.1   Mon Dec 31 07:17:17 2007
+++ php-src/main/streams/xp_socket.c    Wed Feb 27 00:30:24 2008
@@ -16,7 +16,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: xp_socket.c,v 1.33.2.2.2.6.2.1 2007/12/31 07:17:17 sebastian Exp $ */
+/* $Id: xp_socket.c,v 1.33.2.2.2.6.2.2 2008/02/27 00:30:24 iliaa Exp $ */
 
 #include "php.h"
 #include "ext/standard/file.h"
@@ -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;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to