From 6821b67124604da690c5e9276d5370d679c63ac8 Mon Sep 17 00:00:00 2001 From: "Mark A. Hershberger" Date: Wed, 25 Mar 2009 19:39:21 -0400 Subject: Imported Upstream version 5.3.0RC1 --- ext/json/php_json.h | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'ext/json/php_json.h') diff --git a/ext/json/php_json.h b/ext/json/php_json.h index 13aab3c62..dc51d9b4a 100644 --- a/ext/json/php_json.h +++ b/ext/json/php_json.h @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_json.h,v 1.8.2.4 2008/12/31 11:17:38 sebastian Exp $ */ +/* $Id: php_json.h,v 1.8.2.2.2.5 2008/12/31 11:15:38 sebastian Exp $ */ #ifndef PHP_JSON_H #define PHP_JSON_H @@ -26,25 +26,22 @@ extern zend_module_entry json_module_entry; #define phpext_json_ptr &json_module_entry -#ifdef PHP_WIN32 -#define PHP_JSON_API __declspec(dllexport) -#else -#define PHP_JSON_API -#endif - #ifdef ZTS #include "TSRM.h" #endif +ZEND_BEGIN_MODULE_GLOBALS(json) + int error_code; +ZEND_END_MODULE_GLOBALS(json) + #ifdef ZTS -#define JSON_G(v) TSRMG(json_globals_id, zend_json_globals *, v) +# define JSON_G(v) TSRMG(json_globals_id, zend_json_globals *, v) #else -#define JSON_G(v) (json_globals.v) +# define JSON_G(v) (json_globals.v) #endif #endif /* PHP_JSON_H */ - /* * Local variables: * tab-width: 4 -- cgit v1.2.3