]> granicus.if.org Git - php/commitdiff
This extension is not forced to be compiled as shared.
authorfoobar <sniper@php.net>
Wed, 28 Aug 2002 02:44:40 +0000 (02:44 +0000)
committerfoobar <sniper@php.net>
Wed, 28 Aug 2002 02:44:40 +0000 (02:44 +0000)
ext/mcve/mcve.c

index 0c47f2804964f6b9acf616f4ac437c753989f73b..d1c3f4a04be950f2f4032361593290d0e155828a 100644 (file)
@@ -124,7 +124,7 @@ zend_module_entry php_mcve_module_entry = {
 #if ZEND_MODULE_API_NO >= 20010901
        STANDARD_MODULE_HEADER,
 #endif
-       "MCVE",                 /* module name */
+       "mcve",                 /* module name */
        php_mcve_functions,     /* struct of functions (see above) */
        PHP_MINIT(mcve),        /* module initialization functions */
        NULL,                   /* module shutdown functions */
@@ -140,7 +140,9 @@ zend_module_entry php_mcve_module_entry = {
 /* }}} */
 
 /* declare the module for dynamic loading */
-ZEND_GET_MODULE(php_mcve)
+#ifdef COMPILE_DL_MCVE
+ZEND_GET_MODULE(mcve)
+#endif
 
 /* {{{ MCVE_CONN destructor */
 static void _free_mcve_conn(zend_rsrc_list_entry *rsrc)