From: Gwynne Raskind Date: Sun, 31 Jan 2010 20:00:36 +0000 (+0000) Subject: ZEND_EXTERN_MODULE_GLOBALS() is necessary with ZTS, at least on OS X. How confusing. X-Git-Tag: php-5.4.0alpha1~352 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=775659b9218dab8ccba9664aacba5321d6a268b6;p=php ZEND_EXTERN_MODULE_GLOBALS() is necessary with ZTS, at least on OS X. How confusing. --- diff --git a/ext/pdo_mysql/php_pdo_mysql_int.h b/ext/pdo_mysql/php_pdo_mysql_int.h index e6c651fcc5..23f14a464a 100755 --- a/ext/pdo_mysql/php_pdo_mysql_int.h +++ b/ext/pdo_mysql/php_pdo_mysql_int.h @@ -77,6 +77,8 @@ ZEND_BEGIN_MODULE_GLOBALS(pdo_mysql) #endif ZEND_END_MODULE_GLOBALS(pdo_mysql) +ZEND_EXTERN_MODULE_GLOBALS(pdo_mysql) + #ifdef ZTS #define PDO_MYSQL_G(v) TSRMG(pdo_mysql_globals_id, zend_pdo_mysql_globals *, v) #else