aboutsummaryrefslogtreecommitdiff
path: root/xml/details/config.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'xml/details/config.hxx')
-rw-r--r--xml/details/config.hxx16
1 files changed, 13 insertions, 3 deletions
diff --git a/xml/details/config.hxx b/xml/details/config.hxx
index 5f4a19b..da76390 100644
--- a/xml/details/config.hxx
+++ b/xml/details/config.hxx
@@ -5,10 +5,20 @@
#ifndef XML_DETAILS_CONFIG_HXX
#define XML_DETAILS_CONFIG_HXX
-#ifdef _MSC_VER
-# include <xml/details/config-vc.h>
+// Note: the same in expat/config.h
+//
+#ifdef LIBSTUDXML_BUILD2
+# ifdef _MSC_VER
+# include <xml/details/build2/config-vc.h>
+# else
+# include <xml/details/build2/config.h>
+# endif
#else
-# include <xml/details/config.h>
+# ifdef _MSC_VER
+# include <xml/details/config-vc.h>
+# else
+# include <xml/details/config.h>
+# endif
#endif
#endif // XML_DETAILS_CONFIG_HXX