mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-04 07:09:47 +00:00
Libraries: Unbreak building with extra debug macros
This commit is contained in:
parent
081bb29626
commit
d8e22fedc3
Notes:
sideshowbarker
2024-07-19 03:02:23 +09:00
Author: https://github.com/BenWiederhake
Commit: d8e22fedc3
Pull-request: https://github.com/SerenityOS/serenity/pull/3314
8 changed files with 23 additions and 17 deletions
|
@ -87,10 +87,10 @@ bool Loader::layout()
|
|||
}
|
||||
if (program_header.type() != PT_LOAD)
|
||||
return;
|
||||
#ifdef Loader_DEBUG
|
||||
kprintf("PH: V%p %u r:%u w:%u\n", program_header.vaddr().get(), program_header.size_in_memory(), program_header.is_readable(), program_header.is_writable());
|
||||
#endif
|
||||
#ifdef KERNEL
|
||||
# ifdef Loader_DEBUG
|
||||
kprintf("PH: V%p %u r:%u w:%u\n", program_header.vaddr().get(), program_header.size_in_memory(), program_header.is_readable(), program_header.is_writable());
|
||||
# endif
|
||||
if (program_header.is_writable()) {
|
||||
auto* allocated_section = alloc_section_hook(
|
||||
program_header.vaddr(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue