aboutsummaryrefslogtreecommitdiff
path: root/libcommon
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-03-02 12:29:37 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-03-02 12:29:37 +0200
commit34a371625b17428aa0e35488499a2a7b69b0da27 (patch)
tree36bea5761f603245de6e5220f318e532d379dbf5 /libcommon
parente67a19c220db8315914a74be7b3527535e480c87 (diff)
C++11 support in automake and VC++ projects, portability fixes
Diffstat (limited to 'libcommon')
-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