diff options
author | Jakub Zelenka <bukka@php.net> | 2014-11-30 17:47:17 +0000 |
---|---|---|
committer | Jakub Zelenka <bukka@php.net> | 2014-11-30 17:47:17 +0000 |
commit | f18aae6042797dca2535158ca0a783202a9102a1 (patch) | |
tree | b730bec53440196b3a9cb39988eff1d7dda2967d /ext/json/json_encoder.c | |
parent | 79e835563115cf918cc87a17c35ceb1f1f256cef (diff) | |
download | php-git-f18aae6042797dca2535158ca0a783202a9102a1.tar.gz |
Fix compilation for json_encoder
Diffstat (limited to 'ext/json/json_encoder.c')
-rw-r--r-- | ext/json/json_encoder.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/json/json_encoder.c b/ext/json/json_encoder.c index d501a6619c..6976d906c0 100644 --- a/ext/json/json_encoder.c +++ b/ext/json/json_encoder.c @@ -30,6 +30,10 @@ #include "php_json.h" #include <zend_exceptions.h> +ZEND_DECLARE_MODULE_GLOBALS(json) + +static const char digits[] = "0123456789abcdef"; + static void json_escape_string(smart_str *buf, char *s, size_t len, int options TSRMLS_DC); static int json_determine_array_type(zval *val TSRMLS_DC) /* {{{ */ |