aboutsummaryrefslogtreecommitdiff
path: root/odb/tracer/details/config.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-09-06 14:21:24 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-09-06 14:21:24 +0200
commita4d81bc76de5972d8cbdd14cc17e5baa6fe23ad6 (patch)
treea00344417cff8ffe827b3a65ef14597bf0e4b7a4 /odb/tracer/details/config.hxx
parent852126e1bc9b95529738d3225a141552d72b8e04 (diff)
Generate config.h
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