Title: [206734] trunk/Source/_javascript_Core
- Revision
- 206734
- Author
- [email protected]
- Date
- 2016-10-03 09:43:03 -0700 (Mon, 03 Oct 2016)
Log Message
JSStringRef should define JSChar without platform checks
https://bugs.webkit.org/show_bug.cgi?id=162808
Patch by Nicolas Breidinger <[email protected]> on 2016-10-03
Reviewed by Mark Lam.
* API/JSStringRef.h:
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/API/JSStringRef.h (206733 => 206734)
--- trunk/Source/_javascript_Core/API/JSStringRef.h 2016-10-03 16:23:24 UTC (rev 206733)
+++ trunk/Source/_javascript_Core/API/JSStringRef.h 2016-10-03 16:43:03 UTC (rev 206734)
@@ -37,8 +37,9 @@
extern "C" {
#endif
-#if !defined(WIN32) && !defined(_WIN32) \
- && !((defined(__CC_ARM) || defined(__ARMCC__)) && !defined(__linux__)) /* RVCT */
+#if !defined(_NATIVE_WCHAR_T_DEFINED) /* MSVC */ \
+ && (!defined(__WCHAR_MAX__) || (__WCHAR_MAX__ > 0xffffU)) /* ISO C/C++ */ \
+ && (!defined(WCHAR_MAX) || (WCHAR_MAX > 0xffffU)) /* RVCT */
/*!
@typedef JSChar
@abstract A UTF-16 code unit. One, or a sequence of two, can encode any Unicode
Modified: trunk/Source/_javascript_Core/ChangeLog (206733 => 206734)
--- trunk/Source/_javascript_Core/ChangeLog 2016-10-03 16:23:24 UTC (rev 206733)
+++ trunk/Source/_javascript_Core/ChangeLog 2016-10-03 16:43:03 UTC (rev 206734)
@@ -1,3 +1,12 @@
+2016-10-03 Nicolas Breidinger <[email protected]>
+
+ JSStringRef should define JSChar without platform checks
+ https://bugs.webkit.org/show_bug.cgi?id=162808
+
+ Reviewed by Mark Lam.
+
+ * API/JSStringRef.h:
+
2016-10-01 Yusuke Suzuki <[email protected]>
[ES6] Align attributes of Generator related properties to spec
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes