aboutsummaryrefslogtreecommitdiff
path: root/xml/details/export.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'xml/details/export.hxx')
-rw-r--r--xml/details/export.hxx36
1 files changed, 36 insertions, 0 deletions
diff --git a/xml/details/export.hxx b/xml/details/export.hxx
new file mode 100644
index 0000000..fb6d3b6
--- /dev/null
+++ b/xml/details/export.hxx
@@ -0,0 +1,36 @@
+// file : xml/details/export.hxx
+// copyright : Copyright (c) 2009-2013 Code Synthesis Tools CC
+// license : MIT; see accompanying LICENSE file
+
+#ifndef XML_DETAILS_EXPORT_HXX
+#define XML_DETAILS_EXPORT_HXX
+
+#include <xml/details/config.hxx>
+
+#ifdef LIBSTUDXML_STATIC_LIB
+# define LIBSTUDXML_EXPORT
+#else
+# ifdef _WIN32
+# ifdef _MSC_VER
+# ifdef LIBSTUDXML_DYNAMIC_LIB
+# define LIBSTUDXML_EXPORT __declspec(dllexport)
+# else
+# define LIBSTUDXML_EXPORT __declspec(dllimport)
+# endif
+# else
+# ifdef LIBSTUDXML_DYNAMIC_LIB
+# ifdef DLL_EXPORT
+# define LIBSTUDXML_EXPORT __declspec(dllexport)
+# else
+# define LIBSTUDXML_EXPORT
+# endif
+# else
+# define LIBSTUDXML_EXPORT __declspec(dllimport)
+# endif
+# endif
+# else
+# define LIBSTUDXML_EXPORT
+# endif
+#endif
+
+#endif // XML_DETAILS_EXPORT_HXX