From 775659b9218dab8ccba9664aacba5321d6a268b6 Mon Sep 17 00:00:00 2001 From: Gwynne Raskind Date: Sun, 31 Jan 2010 20:00:36 +0000 Subject: [PATCH] ZEND_EXTERN_MODULE_GLOBALS() is necessary with ZTS, at least on OS X. How confusing. --- ext/pdo_mysql/php_pdo_mysql_int.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.50.1