summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Manuel Tomás <jtomas1815@gmail.com>2020-04-23 06:27:17 -0300
committerJuan Manuel Tomás <jtomas1815@gmail.com>2020-04-23 06:27:17 -0300
commitf0ac81b432384b8763ec737e88d6675228e13c33 (patch)
tree45b836ad8b4127abdcd31c3bf8d466a3c4db1c2a
parent4a29986fade6c81177dff812ddba69a598a010d8 (diff)
downloadjet-f0ac81b432384b8763ec737e88d6675228e13c33.tar.gz
jet-f0ac81b432384b8763ec737e88d6675228e13c33.zip
Allow redefinition of PAGE_SIZE
-rw-r--r--page.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/page.c b/page.c
index 856cdfc..e084705 100644
--- a/page.c
+++ b/page.c
@@ -2,7 +2,9 @@
#include <string.h>
#include <stdlib.h>
+#ifndef PAGE_SIZE
#define PAGE_SIZE 4096
+#endif
struct page {
uint8_t *elements;