#44233 [Opn->Csd]: MSG_PEEK undefined under BeOS R5
ID: 44233
Updated by: iliaa@php.net
Reported By: jonathonfreeman at gmail dot com
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: BeOS R5
PHP Version: 5.2.5
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2008-02-24 07:42:18] jonathonfreeman at gmail dot com
Description:
------------
Build fails under BeOS R5 in /main/streams/xp_socket.c:280 -- MSG_PEEK
undeclared.
According to BeOS docs, flags passed to socket functions should always
be 0. I added this, and PHP built successfully:
/* BeOS does not have MSG_PEEK. */
#ifndef MSG_PEEK
#define MSG_PEEK 0
#endif
Reproduce code:
---------------
Build under BeOS R5.
Expected result:
----------------
Successfully build PHP.
Actual result:
--------------
Build fails.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44233&edit=1
Thread (2 messages)