diff options
author | Rob Richards <rrichards@php.net> | 2008-12-27 01:07:18 +0000 |
---|---|---|
committer | Rob Richards <rrichards@php.net> | 2008-12-27 01:07:18 +0000 |
commit | 9761f623cf7e902806fe1370a92a09aca508be37 (patch) | |
tree | f8e0501f6b8d6c553c4eec62167d844e35d2e831 /ext/simplexml | |
parent | 56acf970398176ed94f6130848d22f96744304ad (diff) | |
download | php-git-9761f623cf7e902806fe1370a92a09aca508be37.tar.gz |
force export on win32 to workaround win32 conig issues
Diffstat (limited to 'ext/simplexml')
-rw-r--r-- | ext/simplexml/php_simplexml.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/ext/simplexml/php_simplexml.h b/ext/simplexml/php_simplexml.h index fe514d8990..13ec6e62d6 100644 --- a/ext/simplexml/php_simplexml.h +++ b/ext/simplexml/php_simplexml.h @@ -77,17 +77,7 @@ typedef struct { #define SIMPLEXML_G(v) (simplexml_globals.v) #endif -#ifdef PHP_WIN32 -#ifdef SIMPLEXML_EXPORTS -#define PHP_SXE_API __declspec(dllexport) -#else -#define PHP_SXE_API __declspec(dllimport) -#endif /* SIMPLEXML_EXPORTS */ -#elif defined(__GNUC__) && __GNUC__ >= 4 -#define PHP_SXE_API __attribute__ ((visibility("default"))) -#else -#define PHP_SXE_API -#endif /* PHP_WIN32 */ +#define PHP_SXE_API ZEND_DLEXPORT PHP_SXE_API zend_class_entry *sxe_get_element_class_entry(TSRMLS_D); |