aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/preprocess.c
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-08-23 10:15:46 +0900
committernsfisis <nsfisis@gmail.com>2025-08-23 18:44:30 +0900
commit86cb94c72347d7439980e69a69797d6f8a1688d6 (patch)
tree4c262aeb3da553c1227ede44465f050dfa5831aa /src/preprocess.c
parent8646e6f693fd935c6cb81e776a6c92a3fd093a33 (diff)
downloadducc-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.c4
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;
}