From 64feef1b9ea72adf7ba32998e9dca7d507607498 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Mon, 2 Jan 2023 22:31:49 -0800 Subject: a lot of stuff. --- src/macros.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/macros.c (limited to 'src/macros.c') diff --git a/src/macros.c b/src/macros.c new file mode 100644 index 0000000..1effefe --- /dev/null +++ b/src/macros.c @@ -0,0 +1,10 @@ +#include "./include/macros.h" + +#include +#include +#include + +void die(char *message) { + fprintf(stderr, "%sFATAL ERROR: %s%s\n", RED, message, reset); + exit(EXIT_FAILURE); +} -- cgit