cvs: php4 /ext/msession msession.c

From: Date: Mon, 01 Apr 2002 01:38:52 +0000
Subject: cvs: php4 /ext/msession msession.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-10804@lists.php.net to get a copy of this message
mlwmohawk Sun Mar 31 20:38:52 2002 EDT Modified files: /php4/ext/msession msession.c Log: PHP_SESSION_API not always defined. Index: php4/ext/msession/msession.c diff -u php4/ext/msession/msession.c:1.29 php4/ext/msession/msession.c:1.30 --- php4/ext/msession/msession.c:1.29 Sun Mar 31 00:38:09 2002 +++ php4/ext/msession/msession.c Sun Mar 31 20:38:52 2002 @@ -23,8 +23,6 @@ #include "ext/standard/info.h" #include "ext/session/php_session.h" -#define ERR_DEBUG - /* Macros and such */ #ifndef TRUE #define TRUE 1 @@ -52,8 +50,10 @@ #define IFCONNECT_ENDVAL(V) } else { php_error(E_WARNING, s_szNoInit); return V; } #define IFCONNECT_END } else { php_error(E_WARNING, s_szNoInit); RETURN_FALSE; } +#ifdef PHP_SESSION_API #if (PHP_SESSION_API >= 20020330) #define HAVE_PHP_SESSION_CREATESID +#endif #endif /* This sets the PHP API version used in the file. */

« previous php.cvs (#10804) next »