Title: [266249] trunk
- Revision
- 266249
- Author
- stephan.sz...@sony.com
- Date
- 2020-08-27 12:52:20 -0700 (Thu, 27 Aug 2020)
Log Message
[PlayStation] Build fix due to memmem not always being available.
https://bugs.webkit.org/show_bug.cgi?id=215893
Unreviewed build fix
.:
* Source/cmake/OptionsPlayStation.cmake: Check for memmem
Source/WTF:
* wtf/PlatformHave.h: Don't always HAVE_MEMMEM on playstation
Modified Paths
Diff
Modified: trunk/ChangeLog (266248 => 266249)
--- trunk/ChangeLog 2020-08-27 18:56:38 UTC (rev 266248)
+++ trunk/ChangeLog 2020-08-27 19:52:20 UTC (rev 266249)
@@ -1,3 +1,12 @@
+2020-08-27 Stephan Szabo <stephan.sz...@sony.com>
+
+ [PlayStation] Build fix due to memmem not always being available.
+ https://bugs.webkit.org/show_bug.cgi?id=215893
+
+ Unreviewed build fix
+
+ * Source/cmake/OptionsPlayStation.cmake: Check for memmem
+
2020-08-22 Philippe Normand <pnorm...@igalia.com>
[GTK][WPE] Compilation warnings with clang/gcc 10
Modified: trunk/Source/WTF/ChangeLog (266248 => 266249)
--- trunk/Source/WTF/ChangeLog 2020-08-27 18:56:38 UTC (rev 266248)
+++ trunk/Source/WTF/ChangeLog 2020-08-27 19:52:20 UTC (rev 266249)
@@ -1,3 +1,12 @@
+2020-08-27 Stephan Szabo <stephan.sz...@sony.com>
+
+ [PlayStation] Build fix due to memmem not always being available.
+ https://bugs.webkit.org/show_bug.cgi?id=215893
+
+ Unreviewed build fix
+
+ * wtf/PlatformHave.h: Don't always HAVE_MEMMEM on playstation
+
2020-08-27 Carlos Garcia Campos <cgar...@igalia.com>
[GTK] Include the run loop source name in frame rendering timeline
Modified: trunk/Source/WTF/wtf/PlatformHave.h (266248 => 266249)
--- trunk/Source/WTF/wtf/PlatformHave.h 2020-08-27 18:56:38 UTC (rev 266248)
+++ trunk/Source/WTF/wtf/PlatformHave.h 2020-08-27 19:52:20 UTC (rev 266249)
@@ -308,6 +308,9 @@
#if !OS(WINDOWS)
#define HAVE_STACK_BOUNDS_FOR_NEW_THREAD 1
+#endif
+
+#if !OS(WINDOWS) && !PLATFORM(PLAYSTATION)
#define HAVE_MEMMEM 1
#endif
Modified: trunk/Source/cmake/OptionsPlayStation.cmake (266248 => 266249)
--- trunk/Source/cmake/OptionsPlayStation.cmake 2020-08-27 18:56:38 UTC (rev 266248)
+++ trunk/Source/cmake/OptionsPlayStation.cmake 2020-08-27 19:52:20 UTC (rev 266249)
@@ -1,5 +1,7 @@
set(PORT PlayStation)
+include(CheckSymbolExists)
+
string(APPEND CMAKE_C_FLAGS_RELEASE " -g")
string(APPEND CMAKE_CXX_FLAGS_RELEASE " -g")
set(CMAKE_CONFIGURATION_TYPES "Debug" "Release")
@@ -285,3 +287,8 @@
endforeach ()
add_custom_target(${target_name} ALL DEPENDS ${dst_shared_libs})
endfunction()
+
+check_symbol_exists(memmem string.h HAVE_MEMMEM)
+if (HAVE_MEMMEM)
+ add_definitions(-DHAVE_MEMMEM=1)
+endif ()
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes