From: foobar Date: Wed, 28 Aug 2002 02:44:40 +0000 (+0000) Subject: This extension is not forced to be compiled as shared. X-Git-Tag: RELEASE_0_91~205 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d102e54d5b934e32ba902791d6011a082def4271;p=php This extension is not forced to be compiled as shared. --- diff --git a/ext/mcve/mcve.c b/ext/mcve/mcve.c index 0c47f28049..d1c3f4a04b 100644 --- a/ext/mcve/mcve.c +++ b/ext/mcve/mcve.c @@ -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)