mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 20:07:36 +00:00
LibJS: Don't use MADV_FREE / MADV_DONTNEED on GNU/Hurd
Much like on Serenity itself, these aren't implemented.
This commit is contained in:
parent
8c1f87a869
commit
c64c199ab7
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// FIXME: Implement MADV_FREE and/or MADV_DONTNEED on SerenityOS.
|
// FIXME: Implement MADV_FREE and/or MADV_DONTNEED on SerenityOS.
|
||||||
#if defined(AK_OS_SERENITY) || (!defined(MADV_FREE) && !defined(MADV_DONTNEED))
|
#if defined(AK_OS_SERENITY) || defined(AK_OS_GNU_HURD) || (!defined(MADV_FREE) && !defined(MADV_DONTNEED))
|
||||||
# define USE_FALLBACK_BLOCK_DEALLOCATION
|
# define USE_FALLBACK_BLOCK_DEALLOCATION
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue