aboutsummaryrefslogtreecommitdiff
path: root/odb/details/config-vc.h
blob: 7897360bc0b57727e58ffc4a1b5cc2a89222ec57 (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
25
26
/* file      : odb/details/config-vc.h
 * copyright : Copyright (c) 2009-2013 Code Synthesis Tools CC
 * license   : GNU GPL v2; see accompanying LICENSE file
 */

/* Configuration file for Windows/VC++. */

#ifndef ODB_DETAILS_CONFIG_VC_H
#define ODB_DETAILS_CONFIG_VC_H

#define ODB_THREADS_WIN32
#define ODB_THREADS_TLS_DECLSPEC

/* VC++10 and later have C++11 always enabled.
 */
#if _MSC_VER >= 1600
#  define ODB_CXX11
#  define ODB_CXX11_NULLPTR
//#  define ODB_CXX11_DELETED_FUNCTION
//#  define ODB_CXX11_EXPLICIT_CONVERSION_OPERATOR
//#  define ODB_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGUMENT
//#  define ODB_CXX11_VARIADIC_TEMPLATES
//#  define ODB_CXX11_INITIALIZER_LIST
#endif

#endif /* ODB_DETAILS_CONFIG_VC_H */