mirror of
https://github.com/php/php-src.git
synced 2024-11-29 04:46:07 +08:00
MFH: force export on win32 to workaround win32 conig issues
This commit is contained in:
parent
4cf4b5bf44
commit
90b040b7d0
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user