From f0ac81b432384b8763ec737e88d6675228e13c33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Manuel=20Tom=C3=A1s?= Date: Thu, 23 Apr 2020 06:27:17 -0300 Subject: Allow redefinition of PAGE_SIZE --- page.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/page.c b/page.c index 856cdfc..e084705 100644 --- a/page.c +++ b/page.c @@ -2,7 +2,9 @@ #include #include +#ifndef PAGE_SIZE #define PAGE_SIZE 4096 +#endif struct page { uint8_t *elements; -- cgit v1.2.3