aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/std.h
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-09-14 01:26:47 +0900
committernsfisis <nsfisis@gmail.com>2025-09-14 01:26:47 +0900
commit49b139c339cd1a4cb3a8fc817a582ec6af6c3ca4 (patch)
treebac6eda05c1a02f7df7eca4e1265cf1b896bafed /src/std.h
parent6a45ad108293f9fa4f90eed55fc1101711bcc0ee (diff)
downloadducc-49b139c339cd1a4cb3a8fc817a582ec6af6c3ca4.tar.gz
ducc-49b139c339cd1a4cb3a8fc817a582ec6af6c3ca4.tar.zst
ducc-49b139c339cd1a4cb3a8fc817a582ec6af6c3ca4.zip
feat: include <assert.h>
Diffstat (limited to 'src/std.h')
-rw-r--r--src/std.h7
1 files changed, 0 insertions, 7 deletions
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);