aboutsummaryrefslogtreecommitdiff
path: root/libcommon/common
diff options
context:
space:
mode:
Diffstat (limited to 'libcommon/common')
-rw-r--r--libcommon/common/config-vc.h3
1 files changed, 2 insertions, 1 deletions
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