summaryrefslogtreecommitdiff
path: root/ext/json/php_json.h
diff options
context:
space:
mode:
authorJoe Watkins <krakjoe@php.net>2015-09-03 19:28:34 +0100
committerJoe Watkins <krakjoe@php.net>2015-09-03 19:28:34 +0100
commit26e619b1923e481be5a281738835e4f92a44fbfe (patch)
tree2b17436b05670a7d279325741478f63efbf769df /ext/json/php_json.h
parent0f74baed9cc68e2e4ea8ac2d9b2834bd06daa3b5 (diff)
downloadphp-git-26e619b1923e481be5a281738835e4f92a44fbfe.tar.gz
these need to be exported for extensions that use json
Diffstat (limited to 'ext/json/php_json.h')
-rw-r--r--ext/json/php_json.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/json/php_json.h b/ext/json/php_json.h
index fccab62fb8..4b315b8df8 100644
--- a/ext/json/php_json.h
+++ b/ext/json/php_json.h
@@ -81,7 +81,7 @@ ZEND_BEGIN_MODULE_GLOBALS(json)
php_json_error_code error_code;
ZEND_END_MODULE_GLOBALS(json)
-ZEND_EXTERN_MODULE_GLOBALS(json);
+PHP_JSON_API ZEND_EXTERN_MODULE_GLOBALS(json);
#define JSON_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(json, v)
#if defined(ZTS) && defined(COMPILE_DL_JSON)