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 8f9d5cb677..d99fe3a752 100644
--- a/ext/mysql/php_mysql.c
+++ b/ext/mysql/php_mysql.c
@@ -152,7 +152,7 @@ zend_module_entry mysql_module_entry = {
ZEND_DECLARE_MODULE_GLOBALS(mysql)
#ifdef COMPILE_DL_MYSQL
-ZEND_DLEXPORT zend_module_entry *get_module(void) { return &mysql_module_entry; }
+ZEND_GET_MODULE(mysql)
#endif
void timeout(int sig);