Commit 1a560b1a authored by bmeurer@chromium.org's avatar bmeurer@chromium.org

Visual Studio 2012 and later support the C++11 final keyword.

TBR=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/23128007

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16241 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 8a1abf62
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment