aboutsummaryrefslogtreecommitdiff
path: root/odb/tracer/details/export.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-08-30 15:50:24 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-08-30 15:50:24 +0200
commit289a99b42a16d69e9f97cef705669e04a3217581 (patch)
tree131301ca74003dce0c3e7bdea4d69cf53d0a3835 /odb/tracer/details/export.hxx
parent2fe6da790e143e082bb512502b8d92c1f19ee870 (diff)
Support for automake and VC++ builds
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