From 85488c4a0d8aa4f1af217fb93066d502c8525e2d Mon Sep 17 00:00:00 2001 From: Rob Richards Date: Thu, 26 Jun 2003 10:40:26 +0000 Subject: [PATCH] fix import/export for win32 when enabled by default --- ext/dom/php_dom.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ext/dom/php_dom.h b/ext/dom/php_dom.h index e6bc326963e..3bc6a3875ca 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 #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 */