cvs: php4 /ext/msession msession.c
| From: | Hartmut Holzgraefe | Date: | Sat, 22 Dec 2001 18:47:58 +0000 |
| Subject: | cvs: php4 /ext/msession msession.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-8771@lists.php.net to get a copy of this message | ||
hholzgra Sat Dec 22 13:47:58 2001 EDT
Modified files:
/php4/ext/msession msession.c
Log:
*now* it is backwards compatible ...
Index: php4/ext/msession/msession.c
diff -u php4/ext/msession/msession.c:1.14 php4/ext/msession/msession.c:1.15
--- php4/ext/msession/msession.c:1.14 Sat Dec 22 08:33:18 2001
+++ php4/ext/msession/msession.c Sat Dec 22 13:47:58 2001
@@ -104,7 +104,9 @@
};
zend_module_entry msession_module_entry = {
+#if ZEND_MODULE_API_NO >= 20010901
STANDARD_MODULE_HEADER,
+#endif
"msession",
msession_functions,
PHP_MINIT(msession),
@@ -112,7 +114,9 @@
PHP_RINIT(msession), /* Replace with NULL if there's nothing to do at request start */
PHP_RSHUTDOWN(msession),/* Replace with NULL if there's nothing to do at request end */
PHP_MINFO(msession),
- NO_VERSION_YET,
+#if ZEND_MODULE_API_NO >= 20010901
+ NO_VERSION_YET,
+#endif
STANDARD_MODULE_PROPERTIES
};