CVS update: php3/functions
| From: | martin | Date: | Tue, 05 Jan 1999 15:09:15 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-3284@lists.php.net to get a copy of this message | ||
Date: Tuesday January 5, 1999 @ 10:09
Author: martin
Update of /repository/php3/functions
In directory asf:/u/temp/cvs-serv20292
Modified Files:
gdcache.h
Log Message:
On some platforms (notably OSD/POSIX), malloc() & friends are declared in <stdlib.h>
Index: php3/functions/gdcache.h
diff -c php3/functions/gdcache.h:1.5 php3/functions/gdcache.h:1.6
*** php3/functions/gdcache.h:1.5 Mon Dec 28 04:43:58 1998
--- php3/functions/gdcache.h Tue Jan 5 10:09:13 1999
***************
*** 1,5 ****
/*
! * $Id: gdcache.h,v 1.5 1998/12/28 09:43:58 sas 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
--- 1,5 ----
/*
! * $Id: gdcache.h,v 1.6 1999/01/05 15:09:13 martin 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,46 ****
--- 40,50 ----
/* header */
/*********************************************************/
+ #ifndef _OSD_POSIX
#include <malloc.h>
+ #else
+ #include <stdlib.h> /* BS2000/OSD defines malloc() & friends in stdlib.h */
+ #endif
#ifndef NULL
#define NULL (void *)0
#endif
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net