aboutsummaryrefslogtreecommitdiff
path: root/libcommon/common/config-vc.h
diff options
context:
space:
mode:
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 */