From:             jonathonfreeman at gmail dot com
Operating system: BeOS R5
PHP version:      5.2.5
PHP Bug Type:     Compile Failure
Bug description:  MSG_PEEK undefined under BeOS R5

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 bug report at http://bugs.php.net/?id=44233&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=44233&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=44233&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=44233&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=44233&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=44233&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=44233&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=44233&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=44233&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=44233&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=44233&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=44233&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=44233&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=44233&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=44233&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=44233&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=44233&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=44233&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=44233&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=44233&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=44233&r=mysqlcfg

Reply via email to