#26687 [Opn->Csd]: compile fails in ext/basic_functions.c:1192
| From: | iliaa@php.net | Date: | Mon, 22 Dec 2003 15:57:04 +0000 |
| Subject: | #26687 [Opn->Csd]: compile fails in ext/basic_functions.c:1192 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-52383@lists.php.net to get a copy of this message | ||
ID: 26687
Updated by: iliaa@php.net
Reported By: hakan at lisas dot de
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: Solaris 9
PHP Version: 5CVS-2003-12-22 (dev)
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, 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/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2003-12-22 05:16:23] hakan at lisas dot de
Description:
------------
Compile of current CVS fails with:
ext/standard/basic_functions.c:1192: error: `INADDR_NONE' undeclared
(first use in this function)
on my box.
Reproduce code:
---------------
./builconf
./configure ...
make
...
...
...
ext/standard/basic_functions.c:1192: error: `INADDR_NONE' undeclared
(first use in this function)
Actual result:
--------------
if I put
#ifndef INADDR_NONE
#define INADDR_NONE ((unsigned long) -1)
#endif
in ext/basic_functions.c it compiles
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26687&edit=1