diff options
Diffstat (limited to 'ext/simplexml/php_simplexml.h')
-rw-r--r-- | ext/simplexml/php_simplexml.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/simplexml/php_simplexml.h b/ext/simplexml/php_simplexml.h index b57ad28ce6..233452dafa 100644 --- a/ext/simplexml/php_simplexml.h +++ b/ext/simplexml/php_simplexml.h @@ -26,8 +26,10 @@ extern zend_module_entry simplexml_module_entry; #ifdef PHP_WIN32 #define PHP_SIMPLEXML_API __declspec(dllexport) +#define SIMPLEXML_IMPORT __declspec(dllimport) #else #define PHP_SIMPLEXML_API +#define SIMPLEXML_IMPORT extern #endif #ifdef ZTS @@ -58,10 +60,10 @@ typedef struct { typedef struct { zend_object zo; - xmlHashTablePtr nsmap; + xmlNodePtr node; simplexml_ref_obj *document; + xmlHashTablePtr nsmap; xmlXPathContextPtr xpath; - xmlNodePtr node; } php_sxe_object; |