aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/details/export.hxx
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-09-05 11:54:16 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-09-05 11:54:16 +0200
commitf024d16b9c78d683baa5d87b6e92b3d79a1f3300 (patch)
tree0f2c114c2d046a4abe1fe582f34d18b08f8cc2c0 /odb/oracle/details/export.hxx
parentdb57fa8ca484a677350299e691f0f6ba721904c8 (diff)
Add initial development infrastructure
Diffstat (limited to 'odb/oracle/details/export.hxx')
-rw-r--r--odb/oracle/details/export.hxx41
1 files changed, 41 insertions, 0 deletions
diff --git a/odb/oracle/details/export.hxx b/odb/oracle/details/export.hxx
new file mode 100644
index 0000000..bee88f5
--- /dev/null
+++ b/odb/oracle/details/export.hxx
@@ -0,0 +1,41 @@
+// file : odb/oracle/details/export.hxx
+// author : Constantin Michael <constantin@codesynthesis.com>
+// copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC
+// license : ODB NCUEL; see accompanying LICENSE file
+
+#ifndef ODB_ORACLE_DETAILS_EXPORT_HXX
+#define ODB_ORACLE_DETAILS_EXPORT_HXX
+
+#include <odb/pre.hxx>
+
+#include <odb/oracle/details/config.hxx>
+
+#ifdef LIBODB_ORACLE_STATIC_LIB
+# define LIBODB_ORACLE_EXPORT
+#else
+# ifdef _WIN32
+# ifdef _MSC_VER
+# ifdef LIBODB_ORACLE_DYNAMIC_LIB
+# define LIBODB_ORACLE_EXPORT __declspec(dllexport)
+# else
+# define LIBODB_ORACLE_EXPORT __declspec(dllimport)
+# endif
+# else
+# ifdef LIBODB_ORACLE_DYNAMIC_LIB
+# ifdef DLL_EXPORT
+# define LIBODB_ORACLE_EXPORT __declspec(dllexport)
+# else
+# define LIBODB_ORACLE_EXPORT
+# endif
+# else
+# define LIBODB_ORACLE_EXPORT __declspec(dllimport)
+# endif
+# endif
+# else
+# define LIBODB_ORACLE_EXPORT
+# endif
+#endif
+
+#include <odb/post.hxx>
+
+#endif // ODB_ORACLE_DETAILS_EXPORT_HXX