summaryrefslogtreecommitdiff
path: root/sysdep/unix
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-03-09 13:27:49 +0100
committerMaria Matejka <mq@ucw.cz>2022-03-09 13:28:03 +0100
commit4e60b3ee7270a432357e203824a7d519a3134f01 (patch)
treeead8a17d22342e96d25209c8345910a3ced666ec /sysdep/unix
parent9b6db9f9b8e561d215e1df01169b15a9dfaba1b9 (diff)
Fixed a static assert in page allocator
Diffstat (limited to 'sysdep/unix')
-rw-r--r--sysdep/unix/alloc.c2
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;