Index: src/globals.h |
diff --git a/src/globals.h b/src/globals.h |
index 2f78e4fc612c1d1b2a6fcf47ee710ce3a55813d1..96152fe4cdf4fbc1107be617d20288f456416a6a 100644 |
--- a/src/globals.h |
+++ b/src/globals.h |
@@ -360,10 +360,15 @@ F FUNCTION_CAST(Address addr) { |
#elif defined(_MSC_VER) |
+// Override control was added with Visual Studio 2005. |
# if _MSC_VER >= 1400 |
+# if _MSC_VER >= 1700 |
+# define V8_HAVE_CXX11_FINAL |
+# else |
+// Visual Studio 2010 and earlier spell "final" as "sealed". |
+# define V8_HAVE_MSVC_SEALED |
+# endif |
# define V8_HAVE_CXX11_OVERRIDE |
-// MSVC currently spells "final" as "sealed". |
-# define V8_HAVE_MSVC_SEALED |
# endif |
#endif |