Reviewers: Sven Panne,
Message:
Committed patchset #1 manually as r16236.
Description:
Fix non-Xcode build on Mac with clang.
[email protected]
Committed: https://code.google.com/p/v8/source/detail?r=16236
Please review this at https://codereview.chromium.org/22793008/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/globals.h
Index: src/globals.h
diff --git a/src/globals.h b/src/globals.h
index
58832df45d56541aac8da031208a221d286b667c..2f78e4fc612c1d1b2a6fcf47ee710ce3a55813d1
100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -333,12 +333,7 @@ F FUNCTION_CAST(Address addr) {
// Compiler feature detection.
#if defined(__clang__)
-// Compatibility with older clang versions.
-# ifndef __has_extension
-# define __has_extension __has_feature
-# endif
-
-# if __has_extension(cxx_override_control)
+# if __has_feature(cxx_override_control)
# define V8_HAVE_CXX11_FINAL
# define V8_HAVE_CXX11_OVERRIDE
# endif
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.