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

From: Date: Fri, 29 Dec 2000 16:01:24 +0000
Subject: PHP 4.0 Bug #8478: gdcache.h -- malloc.h
Groups: php.dev 
Request: Send a blank email to php-dev+get-42526@lists.php.net to get a copy of this message
From: fang-pin.chang@cyberdude.com Operating system: MacOS X Public Beta PHP version: 4.0.4 PHP Bug Type: Compile Failure Bug description: gdcache.h -- malloc.h 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? -- Edit Bug report at: http://bugs.php.net/?id=8478&edit=1

« previous php.dev (#42526) next »