Bug #13611 Updated: Fix of #6756 breaks compiling on AIX
| From: | mfischer@php.net | Date: | Wed, 21 Nov 2001 12:12:50 +0000 |
| Subject: | Bug #13611 Updated: Fix of #6756 breaks compiling on AIX | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-71200@lists.php.net to get a copy of this message | ||
ID: 13611
Updated by: mfischer
Reported By: perske@uni-muenster.de
Old Status: Open
Status: Feedback
Bug Type: Sockets related
Operating System: AIX 4.3.3 with C compiler 3.x
PHP Version: 4.0.6
New Comment:
Can you try if this still happens with latest RC
http://www.php.net/~zeev/php-4.1.0RC3.tar.gz
If so, can you try replacing the line
#define _XOPEN_SOURCE_EXTENDED
with
#ifndef _XOPEN_SOURCE_EXTENDED
#define _XOPEN_SOURCE_EXTENDED
#endif
and see if it works?
Feedback.
Previous Comments:
------------------------------------------------------------------------
[2001-10-09 07:27:06] perske@uni-muenster.de
configure --enable-discard-path --enable-force-cgi-redirect --enable-memory-limit --enable-dbase
--enable-ftp --enable-calendar --enable-wddx --enable-socket ; make
ext/sockets/sockets.c line 38 causes the system-defined
_XOPEN_SOURCE_EXTENDED to be redefined from a numeric value to an empty value. This later breaks
compilation because the numeric value will be used in another system header file containing a
statement
#if _XOPEN_SOURCE_EXTENDED==1
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13611&edit=1