aboutsummaryrefslogtreecommitdiff
path: root/odb/details/config.hxx
blob: ad0ec2790ad7537fadb16b0c32906df630978df7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// file      : odb/details/config.hxx
// copyright : Copyright (c) 2005-2012 Code Synthesis Tools CC
// license   : GNU GPL v2; see accompanying LICENSE file

#ifndef ODB_DETAILS_CONFIG_HXX
#define ODB_DETAILS_CONFIG_HXX

// no pre

#ifdef _MSC_VER
#  include <odb/details/config-vc.h>
#elif defined(ODB_COMPILER)
#  define ODB_THREADS_NONE
#  define LIBODB_STATIC_LIB
#  if defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L
#    define ODB_CXX11
#  endif
#else
#  include <odb/details/config.h>
#endif

// no post

#endif // ODB_DETAILS_CONFIG_HXX