aboutsummaryrefslogtreecommitdiff
path: root/xml/details/export.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-04-27 12:32:17 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-04-27 12:32:17 +0200
commit2c57a439676481590179718091f7404eb2e03ad7 (patch)
treea008f641f62fc995c9f93a5b37ee5f329bbaa525 /xml/details/export.hxx
parent78e1a4d4a0a6022c13f251fbe23a20b2262830b2 (diff)
Initial source code import
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