diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-02-28 12:38:15 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-02-28 12:38:15 +0200 |
commit | 3012187847b2783c49153db3f5486b84074cb2b0 (patch) | |
tree | 8d3b63fbea88f2cb530dc6f8121577856b4f37b8 /odb/details/config-vc.h | |
parent | 3c13e8cd7a1b0bf7490b172b48424a91b126c650 (diff) |
Build infrastructure for C++11 support
Diffstat (limited to 'odb/details/config-vc.h')
-rw-r--r-- | odb/details/config-vc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/odb/details/config-vc.h b/odb/details/config-vc.h index 4ab9a7e..6b1da9e 100644 --- a/odb/details/config-vc.h +++ b/odb/details/config-vc.h @@ -11,4 +11,10 @@ #define ODB_THREADS_WIN32 #define ODB_THREADS_TLS_DECLSPEC +/* VC++10 has C++11 always enabled. + */ +#if _MSC_VER >= 1600 +# define ODB_CXX11 +#endif + #endif /* ODB_DETAILS_CONFIG_VC_H */ |