aboutsummaryrefslogtreecommitdiff
path: root/libcommon/common/config-vc.h
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-02-24 09:58:48 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-02-24 09:58:48 +0200
commit50b4de07844ca2a5781d7845115d7bd9e7c8f003 (patch)
treee433a7f4977729d1f6481d33729787a830ef959e /libcommon/common/config-vc.h
parent0306a05023c3857bc0ee7a3bf8355a5665f78d11 (diff)
C++11 support (initial infrastructure)
Diffstat (limited to 'libcommon/common/config-vc.h')
-rw-r--r--libcommon/common/config-vc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libcommon/common/config-vc.h b/libcommon/common/config-vc.h
index 3c150cc..7031e35 100644
--- a/libcommon/common/config-vc.h
+++ b/libcommon/common/config-vc.h
@@ -10,4 +10,10 @@
#define HAVE_TR1_MEMORY
+/* VC++10 has C++11 always enabled.
+ */
+#if _MSC_VER >= 1600
+# define HAVE_CXX11
+#endif
+
#endif /* LIBCOMMON_COMMON_CONFIG_VC_H */