]> granicus.if.org Git - php/commitdiff
*now* it is backwards compatible ...
authorHartmut Holzgraefe <hholzgra@php.net>
Sat, 22 Dec 2001 18:47:59 +0000 (18:47 +0000)
committerHartmut Holzgraefe <hholzgra@php.net>
Sat, 22 Dec 2001 18:47:59 +0000 (18:47 +0000)
ext/msession/msession.c

index 4106996ad422f41fa79b20cf0c0b6e464d61e479..941b5e3aaf3d3fbbc3bdfae988630165ecdde72a 100644 (file)
@@ -104,7 +104,9 @@ function_entry msession_functions[] = {
 };
 
 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 @@ zend_module_entry msession_module_entry = {
        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
 };