mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:24:58 +00:00
Everywhere: Add support for compilation under emscripten
Co-Authored-By: Andrew Kaster <akaster@serenityos.org>
This commit is contained in:
parent
84502f53b5
commit
2110e7cf85
9 changed files with 50 additions and 16 deletions
|
@ -68,7 +68,9 @@ StackInfo::StackInfo()
|
|||
}
|
||||
m_base = top_of_stack - m_size;
|
||||
#else
|
||||
VERIFY_NOT_REACHED();
|
||||
# pragma message "StackInfo not supported on this platform! Recursion checks and stack scans may not work properly"
|
||||
m_size = (size_t)~0;
|
||||
m_base = 0;
|
||||
#endif
|
||||
|
||||
m_top = m_base + m_size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue