diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-09-14 01:26:47 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-09-14 01:26:47 +0900 |
| commit | 49b139c339cd1a4cb3a8fc817a582ec6af6c3ca4 (patch) | |
| tree | bac6eda05c1a02f7df7eca4e1265cf1b896bafed /src | |
| parent | 6a45ad108293f9fa4f90eed55fc1101711bcc0ee (diff) | |
| download | ducc-49b139c339cd1a4cb3a8fc817a582ec6af6c3ca4.tar.gz ducc-49b139c339cd1a4cb3a8fc817a582ec6af6c3ca4.tar.zst ducc-49b139c339cd1a4cb3a8fc817a582ec6af6c3ca4.zip | |
feat: include <assert.h>
Diffstat (limited to 'src')
| -rw-r--r-- | src/preprocess.c | 1 | ||||
| -rw-r--r-- | src/std.h | 7 |
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> @@ -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); |
