]> granicus.if.org Git - php/commitdiff
fix import/export for win32 when enabled by default
authorRob Richards <rrichards@php.net>
Thu, 26 Jun 2003 10:40:26 +0000 (10:40 +0000)
committerRob Richards <rrichards@php.net>
Thu, 26 Jun 2003 10:40:26 +0000 (10:40 +0000)
ext/dom/php_dom.h

index e6bc326963e9de4e193ae7b884c599f5fbc6a441..3bc6a3875ca5da67212e77fbd1ed612596da1213 100644 (file)
@@ -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 */