Revision: 15959
Author: [email protected]
Date: Tue Jul 30 07:49:44 2013
Log: Fix for older clang releases that lack __has_extension.
[email protected]
Review URL: https://codereview.chromium.org/21237002
http://code.google.com/p/v8/source/detail?r=15959
Modified:
/branches/bleeding_edge/src/globals.h
=======================================
--- /branches/bleeding_edge/src/globals.h Tue Jul 30 03:36:58 2013
+++ /branches/bleeding_edge/src/globals.h Tue Jul 30 07:49:44 2013
@@ -116,6 +116,9 @@
# define V8_CC_INTEL 1 // Intel C++ also masquerades as GCC 3.2.0
# elif defined(__clang__)
# define V8_CC_CLANG 1 // Clang also masquerades as GCC 4.2.1
+# ifndef __has_extension
+# define __has_extension __has_feature // Compatibility with older
releases
+# endif
# endif
#elif defined(__ARMCC__) || defined(__CC_ARM)
# define V8_CC_RVCT 1
--
--
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.