diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-08-23 10:15:46 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-08-23 18:44:30 +0900 |
| commit | 86cb94c72347d7439980e69a69797d6f8a1688d6 (patch) | |
| tree | 4c262aeb3da553c1227ede44465f050dfa5831aa /src/preprocess.c | |
| parent | 8646e6f693fd935c6cb81e776a6c92a3fd093a33 (diff) | |
| download | ducc-86cb94c72347d7439980e69a69797d6f8a1688d6.tar.gz ducc-86cb94c72347d7439980e69a69797d6f8a1688d6.tar.zst ducc-86cb94c72347d7439980e69a69797d6f8a1688d6.zip | |
feat: use "make" as builder
Diffstat (limited to 'src/preprocess.c')
| -rw-r--r-- | src/preprocess.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/preprocess.c b/src/preprocess.c index b1810cd..75727d7 100644 --- a/src/preprocess.c +++ b/src/preprocess.c @@ -1535,8 +1535,8 @@ void pp_dump(Token* t, BOOL include_whitespace) { char* get_ducc_include_path() { const char* self_dir = get_self_dir(); - char* buf = calloc(strlen(self_dir) + strlen("/include") + 1, sizeof(char)); - sprintf(buf, "%s/include", self_dir); + char* buf = calloc(strlen(self_dir) + strlen("/../include") + 1, sizeof(char)); + sprintf(buf, "%s/../include", self_dir); return buf; } |
