From: Rob Richards Date: Thu, 26 Jun 2003 10:40:26 +0000 (+0000) Subject: fix import/export for win32 when enabled by default X-Git-Tag: php-5.0.0b1~57 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=85488c4a0d8aa4f1af217fb93066d502c8525e2d;p=php fix import/export for win32 when enabled by default --- 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 #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 */