summaryrefslogtreecommitdiff
path: root/ext/sqlite3/php_sqlite3.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-10-16 18:50:19 +0200
committerAnatol Belski <ab@php.net>2014-10-16 18:50:19 +0200
commitaac7b1db7c9df59ffb0860de7692c653719cf4d0 (patch)
tree1fe1bdc2ffc380a0eaeea069ed5cbb0176eb7715 /ext/sqlite3/php_sqlite3.h
parent073c79b8b539fbbfc540db1cb1a15dfba5358f24 (diff)
downloadphp-git-aac7b1db7c9df59ffb0860de7692c653719cf4d0.tar.gz
converted ext/sqlite and ext/pdo_mysql to use static tsrmls cache
Diffstat (limited to 'ext/sqlite3/php_sqlite3.h')
-rw-r--r--ext/sqlite3/php_sqlite3.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/sqlite3/php_sqlite3.h b/ext/sqlite3/php_sqlite3.h
index 5c7dfcfa5a..8f1c500211 100644
--- a/ext/sqlite3/php_sqlite3.h
+++ b/ext/sqlite3/php_sqlite3.h
@@ -32,6 +32,9 @@ ZEND_END_MODULE_GLOBALS(sqlite3)
#ifdef ZTS
# define SQLITE3G(v) TSRMG(sqlite3_globals_id, zend_sqlite3_globals *, v)
+# ifdef COMPILE_DL_SQLITE3
+ZEND_TSRMLS_CACHE_EXTERN;
+# endif
#else
# define SQLITE3G(v) (sqlite3_globals.v)
#endif