summaryrefslogtreecommitdiff
path: root/libodb-qt/odb/qt/details/export.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libodb-qt/odb/qt/details/export.hxx')
-rw-r--r--libodb-qt/odb/qt/details/export.hxx34
1 files changed, 1 insertions, 33 deletions
diff --git a/libodb-qt/odb/qt/details/export.hxx b/libodb-qt/odb/qt/details/export.hxx
index 4c0097f..f38d0ee 100644
--- a/libodb-qt/odb/qt/details/export.hxx
+++ b/libodb-qt/odb/qt/details/export.hxx
@@ -6,7 +6,7 @@
#include <odb/pre.hxx>
-#include <odb/qt/details/config.hxx>
+#include <odb/qt/details/config.hxx> // LIBODB_QT_STATIC if ODB_COMPILER
// Normally we don't export class templates (but do complete specializations),
// inline functions, and classes with only inline member functions. Exporting
@@ -16,8 +16,6 @@
// used before their inline definition. The workaround is to reorder code. In
// the end it's all trial and error.
-#ifdef LIBODB_QT_BUILD2
-
#if defined(LIBODB_QT_STATIC) // Using static.
# define LIBODB_QT_EXPORT
#elif defined(LIBODB_QT_STATIC_BUILD) // Building static.
@@ -43,36 +41,6 @@
# define LIBODB_QT_EXPORT // Using static or shared.
#endif
-#else // LIBODB_QT_BUILD2
-
-#ifdef LIBODB_QT_STATIC_LIB
-# define LIBODB_QT_EXPORT
-#else
-# ifdef _WIN32
-# ifdef _MSC_VER
-# ifdef LIBODB_QT_DYNAMIC_LIB
-# define LIBODB_QT_EXPORT __declspec(dllexport)
-# else
-# define LIBODB_QT_EXPORT __declspec(dllimport)
-# endif
-# else
-# ifdef LIBODB_QT_DYNAMIC_LIB
-# ifdef DLL_EXPORT
-# define LIBODB_QT_EXPORT __declspec(dllexport)
-# else
-# define LIBODB_QT_EXPORT
-# endif
-# else
-# define LIBODB_QT_EXPORT __declspec(dllimport)
-# endif
-# endif
-# else
-# define LIBODB_QT_EXPORT
-# endif
-#endif
-
-#endif // LIBODB_QT_BUILD2
-
#include <odb/post.hxx>
#endif // ODB_QT_DETAILS_EXPORT_HXX