Fixed a static assert in page allocator
This commit is contained in:
parent
9b6db9f9b8
commit
4e60b3ee72
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ long page_size = 0;
|
||||||
#define KEEP_PAGES_MAIN_MIN 8
|
#define KEEP_PAGES_MAIN_MIN 8
|
||||||
#define CLEANUP_PAGES_BULK 256
|
#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;
|
static _Bool use_fake = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue