cvs: php4 /ext/gd gdcache.h
| From: | Jani Taskinen | Date: | Sun, 07 Jan 2001 09:22:54 +0000 |
| Subject: | cvs: php4 /ext/gd gdcache.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-3409@lists.php.net to get a copy of this message | ||
sniper Sun Jan 7 01:22:54 2001 EDT
Modified files:
/php4/ext/gd gdcache.h
Log:
Fixed bug: 8478
Index: php4/ext/gd/gdcache.h
diff -u php4/ext/gd/gdcache.h:1.1 php4/ext/gd/gdcache.h:1.2
--- php4/ext/gd/gdcache.h:1.1 Fri Apr 16 05:15:38 1999
+++ php4/ext/gd/gdcache.h Sun Jan 7 01:22:53 2001
@@ -1,5 +1,5 @@
/*
- * $Id: gdcache.h,v 1.1 1999/04/16 12:15:38 ssb Exp $
+ * $Id: gdcache.h,v 1.2 2001/01/07 09:22:53 sniper Exp $
*
* Caches of pointers to user structs in which the least-recently-used
* element is replaced in the event of a cache miss after the cache has
@@ -40,7 +40,7 @@
/* header */
/*********************************************************/
-#ifndef _OSD_POSIX
+#if (!defined _OSD_POSIX) && HAVE_MALLOC_H
#include <malloc.h>
#else
#include <stdlib.h> /* BS2000/OSD defines malloc() & friends in stdlib.h */