From: Mark L. Woodward Date: Mon, 1 Apr 2002 01:38:53 +0000 (+0000) Subject: PHP_SESSION_API not always defined. X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~939 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3828c26a8dced62e424d9d4e3b638f10d6e81cef;p=php PHP_SESSION_API not always defined. --- diff --git a/ext/msession/msession.c b/ext/msession/msession.c index fb2e3d80e1..a37de45b75 100644 --- a/ext/msession/msession.c +++ b/ext/msession/msession.c @@ -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,9 +50,11 @@ #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. */ /* If this module does not compile on the version of PHP you are using, look for */