Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[WPE][GTK] Support building against uClibc
https://bugs.webkit.org/show_bug.cgi?id=226244 Reviewed by Michael Catanzaro. Source/JavaScriptCore: * assembler/MacroAssemblerARM64.cpp: (getauxval): Provide a fallback implementation of getauxval() for systems which do not provide <sys/auxv.h>, like those using uClibc as their C library. Source/WTF: * wtf/PlatformRegisters.h: Use the <sys/ucontext.h> header instead of <ucontext.h>, which is enough to gain access to the type definitions for CPU registers and is available on every libc. On the other hand, uClibc does not have <ucontext.h>, so this fixes the build in that case. Canonical link: https://commits.webkit.org/238339@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@278302 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
4 changed files
with
44 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -35,7 +35,7 @@ | ||
#elif OS(WINDOWS) | ||
#include <windows.h> | ||
#else | ||
#include <ucontext.h> | ||
#include <sys/ucontext.h> | ||
#endif | ||
|
||
namespace WTF { | ||