From 34a371625b17428aa0e35488499a2a7b69b0da27 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 2 Mar 2012 12:29:37 +0200 Subject: C++11 support in automake and VC++ projects, portability fixes --- libcommon/common/config-vc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libcommon') diff --git a/libcommon/common/config-vc.h b/libcommon/common/config-vc.h index 7031e35..d2e631d 100644 --- a/libcommon/common/config-vc.h +++ b/libcommon/common/config-vc.h @@ -12,7 +12,8 @@ /* VC++10 has C++11 always enabled. */ -#if _MSC_VER >= 1600 +#if (defined(_MSC_VER) && _MSC_VER >= 1600) || \ + (defined(ODB_MSC_VER) && ODB_MSC_VER >= 1600) # define HAVE_CXX11 #endif -- cgit v1.1