#25295 [Opn->Fbk]: php_ini.c:414: 'alphasort' undeclared
| From: | sniper@php.net | Date: | Tue, 02 Sep 2003 14:26:24 +0000 |
| Subject: | #25295 [Opn->Fbk]: php_ini.c:414: 'alphasort' undeclared | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-47063@lists.php.net to get a copy of this message | ||
ID: 25295
Updated by: sniper@php.net
Reported By: alain dot bonnefoy at icbt dot com
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: QNX6
PHP Version: 4.3.3
New Comment:
What is HAVE_SYS_DIR_H defined in main/php_config.h ?
It's enought to include dir.h in php_scandir.h..
Just need to know it that define is there.
Previous Comments:
------------------------------------------------------------------------
[2003-09-02 01:11:27] alain dot bonnefoy at icbt dot com
Sorry for the mistake, I add the files <sys/dir.h> and <sys/types.h> at
the end of php.h (before #endif)!
in main/php_config.h:
#define HAVE_ALPHASORT 1
regards,
Alain.
------------------------------------------------------------------------
[2003-08-29 09:30:22] sniper@php.net
In what file did you add those?
And what is HAVE_ALPHASORT defined in main/php_config.h ?
------------------------------------------------------------------------
[2003-08-28 09:40:48] alain dot bonnefoy at icbt dot com
Description:
------------
To compile php_ini.c under QNX6.2 with GCC, I had to add the following
lines (at the end of php.ini):
35: #include <sys/dir.h>
36: #include <sys/types.h>
Would it be possible to fix it for future release?
Thanks,
Alain.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25295&edit=1