From 9a1c6c55b86391beac100fe4e80c79f2f2af9f6e Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Sun, 18 Sep 2005 18:05:59 +0000 Subject: [PATCH] fix build (declare extern HashTable pdo_driver_hash) --- ext/pdo/pdo.c | 2 +- ext/pdo/php_pdo_int.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ext/pdo/pdo.c b/ext/pdo/pdo.c index 6cbc92175e..a58f3fd47e 100755 --- a/ext/pdo/pdo.c +++ b/ext/pdo/pdo.c @@ -42,7 +42,7 @@ ZEND_DECLARE_MODULE_GLOBALS(pdo) /* True global resources - no need for thread safety here */ /* the registry of PDO drivers */ -static HashTable pdo_driver_hash; +HashTable pdo_driver_hash; /* we use persistent resources for the driver connection stuff */ static int le_ppdo; diff --git a/ext/pdo/php_pdo_int.h b/ext/pdo/php_pdo_int.h index 82ccf3826f..f202df16fe 100755 --- a/ext/pdo/php_pdo_int.h +++ b/ext/pdo/php_pdo_int.h @@ -22,6 +22,8 @@ /* Stuff private to the PDO extension and not for consumption by PDO drivers * */ + +extern HashTable pdo_driver_hash; extern zend_class_entry *pdo_exception_ce; int php_pdo_list_entry(void); -- 2.50.1