diff options
author | Mark L. Woodward <mlwmohawk@php.net> | 2002-04-01 01:38:53 +0000 |
---|---|---|
committer | Mark L. Woodward <mlwmohawk@php.net> | 2002-04-01 01:38:53 +0000 |
commit | 3828c26a8dced62e424d9d4e3b638f10d6e81cef (patch) | |
tree | 8cb42071a8e1ac82fa47e40b8f38e3615d485794 /ext/msession | |
parent | d92c9f73c3e001c435d8313ffd2e32aeb94ad151 (diff) | |
download | php-git-3828c26a8dced62e424d9d4e3b638f10d6e81cef.tar.gz |
PHP_SESSION_API not always defined.
Diffstat (limited to 'ext/msession')
-rw-r--r-- | ext/msession/msession.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |