diff options
Diffstat (limited to 'src/c8asm/common.h')
-rw-r--r-- | src/c8asm/common.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/c8asm/common.h b/src/c8asm/common.h index 165e6bc..f5899f0 100644 --- a/src/c8asm/common.h +++ b/src/c8asm/common.h @@ -3,14 +3,6 @@ #include <rune.h> -#define MIN(x, y) ((x) < (y) ? (x) : (y)) -#define MAX(x, y) ((x) > (y) ? (x) : (y)) - -#define lengthof(a) (sizeof(a) / sizeof(*(a))) -#define memeq(x, y, n) (!memcmp(x, y, n)) -#define streq(x, y) (!strcmp(x, y)) -#define u8eq(x, y) (!u8cmp(x, y)) - extern size_t filesize; extern const char *filename; extern const char8_t *baseptr; |