summaryrefslogtreecommitdiff
path: root/ext/dom/php_dom.h
diff options
context:
space:
mode:
authorRob Richards <rrichards@php.net>2003-06-26 10:40:26 +0000
committerRob Richards <rrichards@php.net>2003-06-26 10:40:26 +0000
commit85488c4a0d8aa4f1af217fb93066d502c8525e2d (patch)
tree856272265febccc3a201ba09a1962a484c6a5add /ext/dom/php_dom.h
parenta8eba3cc80a33814be5478a1cd4bc013a921aa53 (diff)
downloadphp-git-85488c4a0d8aa4f1af217fb93066d502c8525e2d.tar.gz
fix import/export for win32 when enabled by default
Diffstat (limited to 'ext/dom/php_dom.h')
-rw-r--r--ext/dom/php_dom.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/ext/dom/php_dom.h b/ext/dom/php_dom.h
index e6bc326963..3bc6a3875c 100644
--- a/ext/dom/php_dom.h
+++ b/ext/dom/php_dom.h
@@ -48,6 +48,12 @@ extern zend_module_entry dom_module_entry;
#include <libxml/xpointer.h>
#endif
+#ifdef PHP_WIN32
+#ifndef DOM_EXPORTS
+#define DOM_EXPORTS
+#endif
+#endif
+
#include "xml_common.h"
/* DOM API_VERSION, please bump it up, if you change anything in the API
@@ -102,4 +108,4 @@ PHP_MINIT_FUNCTION(dom);
PHP_MSHUTDOWN_FUNCTION(dom);
PHP_MINFO_FUNCTION(dom);
-#endif /* _PHP_DIR_H */
+#endif /* PHP_DOM_H */