Title: [260499] trunk/Source/_javascript_Core
- Revision
- 260499
- Author
- [email protected]
- Date
- 2020-04-21 21:07:44 -0700 (Tue, 21 Apr 2020)
Log Message
Unreviewed, fix windows build failure
https://bugs.webkit.org/show_bug.cgi?id=210834
* runtime/Options.cpp:
(JSC::strncasecmp):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (260498 => 260499)
--- trunk/Source/_javascript_Core/ChangeLog 2020-04-22 04:05:48 UTC (rev 260498)
+++ trunk/Source/_javascript_Core/ChangeLog 2020-04-22 04:07:44 UTC (rev 260499)
@@ -1,5 +1,13 @@
2020-04-21 Yusuke Suzuki <[email protected]>
+ Unreviewed, fix windows build failure
+ https://bugs.webkit.org/show_bug.cgi?id=210834
+
+ * runtime/Options.cpp:
+ (JSC::strncasecmp):
+
+2020-04-21 Yusuke Suzuki <[email protected]>
+
[JSC] SpeculativeJIT::nonSpeculativeNonPeepholeStrictEq should expect AnyBigIntUse
https://bugs.webkit.org/show_bug.cgi?id=210832
Modified: trunk/Source/_javascript_Core/runtime/Options.cpp (260498 => 260499)
--- trunk/Source/_javascript_Core/runtime/Options.cpp 2020-04-22 04:05:48 UTC (rev 260498)
+++ trunk/Source/_javascript_Core/runtime/Options.cpp 2020-04-22 04:07:44 UTC (rev 260499)
@@ -535,6 +535,14 @@
return reinterpret_cast<uint8_t*>(&g_jscConfig.options) + offset;
}
+#if OS(WINDOWS)
+// FIXME: Use equalLettersIgnoringASCIICase.
+inline bool strncasecmp(const char* str1, const char* str2, size_t n)
+{
+ return _strnimp(str1, str2, n);
+}
+#endif
+
void Options::initialize()
{
static std::once_flag initializeOptionsOnceFlag;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes