cvs: Zend(PHP_4_2_0) / acconfig.h zend.h zend_config.nw.h

From: Date: Fri, 25 Oct 2002 08:40:11 +0000
Subject: cvs: Zend(PHP_4_2_0) / acconfig.h zend.h zend_config.nw.h
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-535@lists.php.net to get a copy of this message
hyanantha Fri Oct 25 04:40:11 2002 EDT Added files: (Branch: PHP_4_2_0) /Zend zend_config.nw.h Modified files: /Zend acconfig.h zend.h Log: NetWare related changes/modifications. Index: Zend/acconfig.h diff -u Zend/acconfig.h:1.26 Zend/acconfig.h:1.26.12.1 --- Zend/acconfig.h:1.26 Sun Mar 11 14:35:25 2001 +++ Zend/acconfig.h Fri Oct 25 04:40:10 2002 @@ -1,7 +1,9 @@ #define ZEND_API #define ZEND_DLEXPORT +#ifndef NETWARE @TOP@ +#endif #undef uint #undef ulong @@ -9,7 +11,9 @@ /* Define if you want to enable memory limit support */ #define MEMORY_LIMIT 0 +#ifndef NETWARE @BOTTOM@ +#endif #ifdef HAVE_STDLIB_H # include <stdlib.h> Index: Zend/zend.h diff -u Zend/zend.h:1.148.2.1 Zend/zend.h:1.148.2.2 --- Zend/zend.h:1.148.2.1 Tue Sep 17 06:56:03 2002 +++ Zend/zend.h Fri Oct 25 04:40:10 2002 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend.h,v 1.148.2.1 2002/09/17 10:56:03 zeev Exp $ */ +/* $Id: zend.h,v 1.148.2.2 2002/10/25 08:40:10 hyanantha Exp $ */ #ifndef ZEND_H #define ZEND_H @@ -41,6 +41,9 @@ #ifdef ZEND_WIN32 # include "zend_config.w32.h" # define ZEND_PATHS_SEPARATOR ';' +#elif defined(NETWARE) +# include "zend_config.nw.h" +# define ZEND_PATHS_SEPARATOR ';' #elif defined(__riscos__) # include "zend_config.h" # define ZEND_PATHS_SEPARATOR ';' @@ -73,7 +76,11 @@ # define RTLD_GLOBAL 0 # endif +#ifndef NETWARE # define DL_LOAD(libname) dlopen(libname, RTLD_LAZY | RTLD_GLOBAL) +#else +# define DL_LOAD(libname) dlopen(libname, RTLD_LAZY | RTLD_LOCAL) +#endif /* NETWARE */ # define DL_UNLOAD dlclose # if DLSYM_NEEDS_UNDERSCORE # define DL_FETCH_SYMBOL(h,s) dlsym((h), "_" ## s) @@ -100,15 +107,13 @@ # else # ifdef _AIX #pragma alloca -# else -# ifndef alloca /* predefined by HP cc +Olibcalls */ -char *alloca (); -# endif -# endif +#elif !defined(alloca) && !defined(NETWARE) +void *alloca(size_t); +#endif # endif #endif -#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS) && defined(ZEND_WIN32)) +#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS) && defined(ZEND_WIN32)) && !(defined(ZTS) && defined(NETWARE)) # define do_alloca(p) alloca(p) # define free_alloca(p) #else Index: Zend/zend_config.nw.h +++ Zend/zend_config.nw.h

« previous php.zend-engine.cvs (#535) next »