summaryrefslogtreecommitdiff
path: root/ext/domxml/php_domxml.h
diff options
context:
space:
mode:
authorBrad LaFountain <rodif_bl@php.net>2002-05-31 13:38:58 +0000
committerBrad LaFountain <rodif_bl@php.net>2002-05-31 13:38:58 +0000
commitfa60d31d271b98b737144a53aa775d01fa29c6ca (patch)
treee2c4a39eb6b15e67c611944991ce7c1925bd9eb0 /ext/domxml/php_domxml.h
parentf75f3cff829769883b152ecdf3e7c7f9f5a94d25 (diff)
downloadphp-git-fa60d31d271b98b737144a53aa775d01fa29c6ca.tar.gz
Changed PHP_EXPORTS to DOMXML_EXPORTS as Edin Kadribasic suggested
Diffstat (limited to 'ext/domxml/php_domxml.h')
-rw-r--r--ext/domxml/php_domxml.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/domxml/php_domxml.h b/ext/domxml/php_domxml.h
index daea9e1efa..3ce7bf3221 100644
--- a/ext/domxml/php_domxml.h
+++ b/ext/domxml/php_domxml.h
@@ -56,6 +56,17 @@
extern zend_module_entry domxml_module_entry;
#define domxml_module_ptr &domxml_module_entry
+#ifdef PHP_WIN32
+#ifdef PHPAPI
+#undef PHPAPI
+#endif
+#ifdef DOMXML_EXPORTS
+#define PHPAPI __declspec(dllexport)
+#else
+#define PHPAPI __declspec(dllimport)
+#endif /* DOMXML_EXPORTS */
+#endif /* PHP_WIN32 */
+
PHPAPI zval *php_domobject_new(xmlNodePtr obj, int *found, zval* in TSRMLS_DC);
/* directory functions */