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 17d1bd0..fe14255 100644
--- a/libcommon/common/config-vc.h
+++ b/libcommon/common/config-vc.h
@@ -15,6 +15,12 @@
#if (defined(_MSC_VER) && _MSC_VER >= 1600) || \
(defined(ODB_MSC_VER) && ODB_MSC_VER >= 1600)
# define HAVE_CXX11
+// Strongly typed enums are supported starting from VC++11.
+//
+# if (defined(_MSC_VER) && _MSC_VER >= 1700) || \
+ (defined(ODB_MSC_VER) && ODB_MSC_VER >= 1700)
+# define HAVE_CXX11_ENUM
+# endif
#endif
#endif /* LIBCOMMON_COMMON_CONFIG_VC_H */