cvs: php-src /ext/simplexml php_simplexml.h
| From: | Rob Richards | Date: | Sat, 27 Dec 2008 01:07:18 +0000 |
| Subject: | cvs: php-src /ext/simplexml php_simplexml.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-55128@lists.php.net to get a copy of this message | ||
rrichards Sat Dec 27 01:07:18 2008 UTC
Modified files:
/php-src/ext/simplexml php_simplexml.h
Log:
force export on win32 to workaround win32 conig issues
http://cvs.php.net/viewvc.cgi/php-src/ext/simplexml/php_simplexml.h?r1=1.31&r2=1.32&diff_format=u
Index: php-src/ext/simplexml/php_simplexml.h
diff -u php-src/ext/simplexml/php_simplexml.h:1.31 php-src/ext/simplexml/php_simplexml.h:1.32
--- php-src/ext/simplexml/php_simplexml.h:1.31 Fri Dec 26 20:27:14 2008
+++ php-src/ext/simplexml/php_simplexml.h Sat Dec 27 01:07:18 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_simplexml.h,v 1.31 2008/12/26 20:27:14 rrichards Exp $ */
+/* $Id: php_simplexml.h,v 1.32 2008/12/27 01:07:18 rrichards Exp $ */
#ifndef PHP_SIMPLEXML_H
#define PHP_SIMPLEXML_H
@@ -77,17 +77,7 @@
#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);