From 4e60b3ee7270a432357e203824a7d519a3134f01 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Wed, 9 Mar 2022 13:27:49 +0100 Subject: [PATCH] Fixed a static assert in page allocator --- sysdep/unix/alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;