mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 17:51:53 +00:00
Fixed a static assert in page allocator
This commit is contained in:
parent
9b6db9f9b8
commit
4e60b3ee72
@ -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 New Issue
Block a user