From 7554cc40fdecfbeb5113081640af4eeb751e19da Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Tue, 3 Dec 2024 00:54:09 +0000 Subject: Moved MEMORY_DEFAULT to lib.h --- lib.h | 5 +++-- main.c | 2 -- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lib.h b/lib.h index dc844bb..284fc8a 100644 --- a/lib.h +++ b/lib.h @@ -17,8 +17,9 @@ typedef int16_t i16; typedef int32_t i32; typedef int64_t i64; -#define MAX(A, B) ((A) < (B) ? (A) : (B)) -#define MIN(A, B) ((A) > (B) ? (A) : (B)) +#define MAX(A, B) ((A) < (B) ? (A) : (B)) +#define MIN(A, B) ((A) > (B) ? (A) : (B)) +#define MEMORY_DEFAULT 30000 bool usable_character(char c); char *fread_all(FILE *fp); diff --git a/main.c b/main.c index 58357c8..f92aaaa 100644 --- a/main.c +++ b/main.c @@ -13,8 +13,6 @@ #include "./lib.h" #include "./parser.h" -#define MEMORY_DEFAULT 30000 - #define MIN_MEM_DUMP 64 typedef struct -- cgit v1.2.3-13-gbd6f