summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysql/php_mysql.c')
-rw-r--r--ext/mysql/php_mysql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c
index d99fe3a752..94fda3bf4a 100644
--- a/ext/mysql/php_mysql.c
+++ b/ext/mysql/php_mysql.c
@@ -151,7 +151,7 @@ zend_module_entry mysql_module_entry = {
ZEND_DECLARE_MODULE_GLOBALS(mysql)
-#ifdef COMPILE_DL_MYSQL
+#if defined(COMPILE_DL) || defined(COMPILE_DL_MYSQL)
ZEND_GET_MODULE(mysql)
#endif