From 8f91051ddaff61f7b8e0940f79e50a83ba6a3329 Mon Sep 17 00:00:00 2001 From: Stig Bakken Date: Sat, 4 Dec 1999 14:45:38 +0000 Subject: Fix shared mode for gd/xml/mysql extensions. --- ext/mysql/php_mysql.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'ext/mysql/php_mysql.c') diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index 3d9b5e7982..234f280767 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -24,10 +24,6 @@ * ? Safe mode implementation */ -#ifdef COMPILE_DL -# include "dl/phpdl.h" -#endif - #include "php.h" #include "php_globals.h" #include "ext/standard/php3_standard.h" @@ -157,7 +153,8 @@ int mysql_globals_id; PHP_MYSQL_API php_mysql_globals mysql_globals; #endif -#ifdef COMPILE_DL +#ifdef COMPILE_DL_MYSQL +# include "dl/phpdl.h" DLEXPORT zend_module_entry *get_module(void) { return &mysql_module_entry; } #endif -- cgit v1.2.1