aboutsummaryrefslogtreecommitdiff
path: root/xml/details/config.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-08-31 12:57:01 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-08-31 12:57:01 +0200
commit77bc33bcdf611d0f5c703d3d8e20d6f5aff8814c (patch)
tree242909f8eaba11d2ff34b5cc6ccacc27fc34846b /xml/details/config.hxx
parent26aadd17ab7cf9b093b64ffc696d317b127e181d (diff)
Add build2-based build system
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