aboutsummaryrefslogtreecommitdiff
path: root/odb/tracer/details/export.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/tracer/details/export.hxx')
-rw-r--r--odb/tracer/details/export.hxx27
1 files changed, 27 insertions, 0 deletions
diff --git a/odb/tracer/details/export.hxx b/odb/tracer/details/export.hxx
new file mode 100644
index 0000000..152a967
--- /dev/null
+++ b/odb/tracer/details/export.hxx
@@ -0,0 +1,27 @@
+// file : odb/tracer/details/export.hxx
+// author : Boris Kolpackov <boris@codesynthesis.com>
+// copyright : Copyright (c) 2005-2010 Code Synthesis Tools CC
+// license : GNU GPL v2; see accompanying LICENSE file
+
+#ifndef ODB_TRACER_DETAILS_EXPORT_HXX
+#define ODB_TRACER_DETAILS_EXPORT_HXX
+
+#include <odb/pre.hxx>
+
+#ifdef LIBODB_TRACER_STATIC_LIB
+# define LIBODB_TRACER_EXPORT
+#else
+# ifdef _WIN32
+# ifdef LIBODB_TRACER_DYNAMIC_LIB
+# define LIBODB_TRACER_EXPORT __declspec(dllexport)
+# else
+# define LIBODB_TRACER_EXPORT __declspec(dllimport)
+# endif
+# else
+# define LIBODB_TRACER_EXPORT
+# endif
+#endif
+
+#include <odb/post.hxx>
+
+#endif // ODB_TRACER_DETAILS_EXPORT_HXX