From: Gwynne Raskind Date: Sun, 31 Jan 2010 20:04:10 +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~191^2~2005 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c316540ac93d6f5675dbfbe66d9d0ed397466e65;p=php ZEND_EXTERN_MODULE_GLOBALS() is necessary with ZTS, at least on OS X. How confusing. (Forgot to commit to trunk/ before, sorry) --- diff --git a/ext/pdo_mysql/php_pdo_mysql_int.h b/ext/pdo_mysql/php_pdo_mysql_int.h index d3cf07d3ab..2788d0c4cb 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