iliaa Wed Feb 27 00:30:49 2008 UTC Modified files: /php-src/main/streams xp_socket.c Log: MFB: Fixed bug #44233 (MSG_PEEK undefined under BeOS R5) http://cvs.php.net/viewvc.cgi/php-src/main/streams/xp_socket.c?r1=1.43&r2=1.44&diff_format=u Index: php-src/main/streams/xp_socket.c diff -u php-src/main/streams/xp_socket.c:1.43 php-src/main/streams/xp_socket.c:1.44 --- php-src/main/streams/xp_socket.c:1.43 Mon Dec 31 07:12:19 2007 +++ php-src/main/streams/xp_socket.c Wed Feb 27 00:30:49 2008 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: xp_socket.c,v 1.43 2007/12/31 07:12:19 sebastian Exp $ */ +/* $Id: xp_socket.c,v 1.44 2008/02/27 00:30:49 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