diff options
author | Antony Dovgal <tony2001@php.net> | 2005-09-18 18:05:59 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2005-09-18 18:05:59 +0000 |
commit | 9a1c6c55b86391beac100fe4e80c79f2f2af9f6e (patch) | |
tree | 56ca57758ebfdfe95e59b7b81bbbb2b73783286d | |
parent | c3a79b5990545765917ebde98a85a6a8260abb61 (diff) | |
download | php-git-9a1c6c55b86391beac100fe4e80c79f2f2af9f6e.tar.gz |
fix build (declare extern HashTable pdo_driver_hash)
-rwxr-xr-x | ext/pdo/pdo.c | 2 | ||||
-rwxr-xr-x | ext/pdo/php_pdo_int.h | 2 |
2 files changed, 3 insertions, 1 deletions
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); |