diff options
author | Maria Matejka <mq@ucw.cz> | 2022-03-09 13:27:49 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-03-09 13:27:49 +0100 |
commit | 36f5fea31a61d9067d81ffb1620fdf174f47d5e4 (patch) | |
tree | 76feb7edf87d8453044574fafbcb2eb416f92c08 /sysdep/unix | |
parent | 92b832380d31fc9995d6e45b3db4ce496fcb7837 (diff) |
Fixed a static assert in page allocator
Diffstat (limited to 'sysdep/unix')
-rw-r--r-- | sysdep/unix/alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/unix/alloc.c b/sysdep/unix/alloc.c index 755b5fa5..edad6209 100644 --- a/sysdep/unix/alloc.c +++ b/sysdep/unix/alloc.c @@ -26,7 +26,7 @@ long page_size = 0; #define KEEP_PAGES_MAIN_MIN 8 #define CLEANUP_PAGES_BULK 256 -_Static_assert(KEEP_PAGES_MAIN_MIN * 4 < KEEP_PAGES_MAIN_MAX); +STATIC_ASSERT(KEEP_PAGES_MAIN_MIN * 4 < KEEP_PAGES_MAIN_MAX); static _Bool use_fake = 0; |