summaryrefslogtreecommitdiff
path: root/ext/simplexml/php_simplexml.h
diff options
context:
space:
mode:
authorRob Richards <rrichards@php.net>2008-12-27 01:07:49 +0000
committerRob Richards <rrichards@php.net>2008-12-27 01:07:49 +0000
commit90b040b7d046abccbce7af9199c07bf45c7c0484 (patch)
tree4a6e6c2287f20111a985f05d2052ea361997c4bb /ext/simplexml/php_simplexml.h
parent4cf4b5bf441c1ec47e70fe0626e72d8060689a11 (diff)
downloadphp-git-90b040b7d046abccbce7af9199c07bf45c7c0484.tar.gz
MFH: force export on win32 to workaround win32 conig issues
Diffstat (limited to 'ext/simplexml/php_simplexml.h')
-rw-r--r--ext/simplexml/php_simplexml.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/ext/simplexml/php_simplexml.h b/ext/simplexml/php_simplexml.h
index 531786967f..e8e8083215 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();