aboutsummaryrefslogtreecommitdiff
path: root/odb/tracer/details/config.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/tracer/details/config.hxx')
-rw-r--r--odb/tracer/details/config.hxx11
1 files changed, 4 insertions, 7 deletions
diff --git a/odb/tracer/details/config.hxx b/odb/tracer/details/config.hxx
index d8e15b6..52fdffc 100644
--- a/odb/tracer/details/config.hxx
+++ b/odb/tracer/details/config.hxx
@@ -8,16 +8,13 @@
// no pre
-#ifdef HAVE_CONFIG_H
+#ifdef _MSC_VER
+#elif defined(ODB_COMPILER)
+# error libodb-tracer header included in odb-compiled header
+#else
# include <odb/tracer/details/config.h>
#endif
-#ifndef LIBODB_TRACER_INCLUDE_SHORT
- #ifdef _WIN32
- #define LIBODB_TRACER_INCLUDE_SHORT 1
- #endif
-#endif
-
// no post
#endif // ODB_TRACER_DETAILS_CONFIG_HXX