Title: [287919] trunk/Source/WTF
Revision
287919
Author
commit-qu...@webkit.org
Date
2022-01-12 04:25:27 -0800 (Wed, 12 Jan 2022)

Log Message

[WTF] Exclude any Linux-based platform in DisallowCType.h
https://bugs.webkit.org/show_bug.cgi?id=235104

Patch by Zan Dobersek <zdober...@igalia.com> on 2022-01-12
Reviewed by Adrian Perez de Castro.

* wtf/DisallowCType.h: Exclude any Linux target from deploying macros
that prevent use of locale-dependent ctype functions in combination with
the glibc C library and a non-libc++ C++ library. This should thus also
cover the JSCOnly port when built on Linux.

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (287918 => 287919)


--- trunk/Source/WTF/ChangeLog	2022-01-12 12:02:25 UTC (rev 287918)
+++ trunk/Source/WTF/ChangeLog	2022-01-12 12:25:27 UTC (rev 287919)
@@ -1,3 +1,15 @@
+2022-01-12  Zan Dobersek  <zdober...@igalia.com>
+
+        [WTF] Exclude any Linux-based platform in DisallowCType.h
+        https://bugs.webkit.org/show_bug.cgi?id=235104
+
+        Reviewed by Adrian Perez de Castro.
+
+        * wtf/DisallowCType.h: Exclude any Linux target from deploying macros
+        that prevent use of locale-dependent ctype functions in combination with
+        the glibc C library and a non-libc++ C++ library. This should thus also
+        cover the JSCOnly port when built on Linux.
+
 2021-11-29 Simon Fraser  <simon.fra...@apple.com>
 
         Serialize CSS <number> values with rounding, limited decimal precision, and no exponents per-spec

Modified: trunk/Source/WTF/wtf/DisallowCType.h (287918 => 287919)


--- trunk/Source/WTF/wtf/DisallowCType.h	2022-01-12 12:02:25 UTC (rev 287918)
+++ trunk/Source/WTF/wtf/DisallowCType.h	2022-01-12 12:25:27 UTC (rev 287919)
@@ -41,7 +41,7 @@
 // are used from wx headers. On GTK+ for Mac many GTK+ files include <libintl.h>
 // or <glib/gi18n-lib.h>, which in turn include <xlocale/_ctype.h> which uses
 // isacii(). Additionally, regex.h uses tolower on Linux.
-#if !PLATFORM(GTK) && !PLATFORM(WPE) && !defined(_LIBCPP_VERSION) && defined(__GLIBC__)
+#if !OS(LINUX) && !defined(_LIBCPP_VERSION) && defined(__GLIBC__)
 
 #include <ctype.h>
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to