aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/preprocess.c1
-rw-r--r--src/std.h7
2 files changed, 1 insertions, 7 deletions
diff --git a/src/preprocess.c b/src/preprocess.c
index a32e0e5..34c2fe0 100644
--- a/src/preprocess.c
+++ b/src/preprocess.c
@@ -1,4 +1,5 @@
#include "preprocess.h"
+#include <assert.h>
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/std.h b/src/std.h
index 140eea8..2e4dbb1 100644
--- a/src/std.h
+++ b/src/std.h
@@ -6,13 +6,6 @@
// TODO: <stdlib.h>
int mkstemps(char*, int);
-#define assert(x) \
- do { \
- if (!(x)) { \
- fatal_error("%s:%d: assertion failed", __FILE__, __LINE__); \
- } \
- } while (0)
-
#define F_OK 0
#define R_OK 4
int access(const char*, int);