Changeset 194518 in webkit
- Timestamp:
- Jan 3, 2016 12:26:04 PM (8 years ago)
- Location:
- trunk/Source
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r194517 r194518 1 2016-01-03 Khem Raj <raj.khem@gmail.com> 2 3 WebKit fails to build with musl libc library 4 https://bugs.webkit.org/show_bug.cgi?id=152625 5 6 Reviewed by Daniel Bates. 7 8 Qualify isnan() calls with std namespace. 9 10 * runtime/Options.cpp: 11 (Option::operator==): Add std namespace qualifier. 12 1 13 2016-01-03 Andreas Kling <akling@apple.com> 2 14 -
trunk/Source/JavaScriptCore/runtime/Options.cpp
r194376 r194518 654 654 return m_entry.unsignedVal == other.m_entry.unsignedVal; 655 655 case Options::Type::doubleType: 656 return (m_entry.doubleVal == other.m_entry.doubleVal) || ( isnan(m_entry.doubleVal) &&isnan(other.m_entry.doubleVal));656 return (m_entry.doubleVal == other.m_entry.doubleVal) || (std::isnan(m_entry.doubleVal) && std::isnan(other.m_entry.doubleVal)); 657 657 case Options::Type::int32Type: 658 658 return m_entry.int32Val == other.m_entry.int32Val; -
trunk/Source/WTF/ChangeLog
r194510 r194518 1 2016-01-03 Khem Raj <raj.khem@gmail.com> 2 3 WebKit fails to build with musl libc library 4 https://bugs.webkit.org/show_bug.cgi?id=152625 5 6 Reviewed by Daniel Bates. 7 8 Disable ctype.h check for musl C library on Linux. 9 Enable backtrace on Linux when using glibc. 10 We don't have backtrace() implemented on non-glibc system 11 C libraries on Linux e.g. musl. 12 13 * wtf/DisallowCType.h: Check for __GLIBC__. 14 * wtf/Assertions.cpp: 15 (WTFGetBacktrace): Check if libc is glibc. 16 1 17 2016-01-03 Andreas Kling <akling@apple.com> 2 18 -
trunk/Source/WTF/wtf/Assertions.cpp
r187819 r194518 69 69 #endif 70 70 71 #if OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__))71 #if OS(DARWIN) || (OS(LINUX) && defined(__GLIBC__) && !defined(__UCLIBC__)) 72 72 #include <cxxabi.h> 73 73 #include <dlfcn.h> … … 226 226 void WTFGetBacktrace(void** stack, int* size) 227 227 { 228 #if OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__))228 #if OS(DARWIN) || (OS(LINUX) && defined(__GLIBC__) && !defined(__UCLIBC__)) 229 229 *size = backtrace(stack, *size); 230 230 #elif OS(WINDOWS) -
trunk/Source/WTF/wtf/DisallowCType.h
r165676 r194518 41 41 // or <glib/gi18n-lib.h>, which in turn include <xlocale/_ctype.h> which uses 42 42 // isacii(). 43 #if !(OS(DARWIN) && PLATFORM(GTK)) && !PLATFORM(EFL) && !defined(_LIBCPP_VERSION) 43 #if !(OS(DARWIN) && PLATFORM(GTK)) && !PLATFORM(EFL) && !defined(_LIBCPP_VERSION) && defined(__GLIBC__) 44 44 45 45 #include <ctype.h> -
trunk/Source/WebCore/ChangeLog
r194516 r194518 1 2016-01-03 Khem Raj <raj.khem@gmail.com> 2 3 WebKit fails to build with musl libc library 4 https://bugs.webkit.org/show_bug.cgi?id=152625 5 6 Reviewed by Daniel Bates and Alexey Proskuryakov. 7 8 malloc_trim is glibc specific API so guard it with __GLIBC__. 9 10 * platform/linux/MemoryPressureHandlerLinux.cpp: 11 (MemoryPressureHandler::platformReleaseMemory): Guard malloc_trim() 12 call with __GLIBC_. 13 1 14 2016-01-03 Simon Fraser <simon.fraser@apple.com> 2 15 -
trunk/Source/WebCore/platform/linux/MemoryPressureHandlerLinux.cpp
r185206 r194518 202 202 void MemoryPressureHandler::platformReleaseMemory(Critical) 203 203 { 204 #ifdef __GLIBC__ 204 205 ReliefLogger log("Run malloc_trim"); 205 206 malloc_trim(0); 207 #endif 206 208 } 207 209
Note: See TracChangeset
for help on using the changeset viewer.