PHP 4.0 Bug #8478 Updated: gdcache.h -- malloc.h

From: Date: Sun, 07 Jan 2001 09:23:54 +0000
Subject: PHP 4.0 Bug #8478 Updated: gdcache.h -- malloc.h
Groups: php.dev 
Request: Send a blank email to php-dev+get-43222@lists.php.net to get a copy of this message
ID: 8478 Updated by: sniper Reported By: fang-pin.chang@cyberdude.com Old-Status: Open Status: Closed Bug Type: Compile Failure Assigned To: Comments: Fixed in CVS. --Jani Previous Comments: --------------------------------------------------------------------------- [2000-12-29 11:01:24] fang-pin.chang@cyberdude.com In ext/gd/gdcache.h, line 43-47, the code says #ifndef _OSD_POSIX #include <malloc.h> #else #include <stdlib.h> /* BS2000/OSD defines malloc() & friends in stdlib.h */ #endif However, under MacOS X Public Beta, [1] _OSD_POSIX is not defined by the compiler (at least not to my knowledge), and [2] there is no /usr/include/malloc.h. These two conditions lead to a compile failure. Now, by looking at the configure process, I noticed that there is a check for the existence of malloc.h Perhaps this file can be modified to use this check or some other instead? --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8478

« previous php.dev (#43222) next »