diff --git a/compile.sh b/compile.sh index 9ed23ec..254c5bd 100755 --- a/compile.sh +++ b/compile.sh @@ -1 +1 @@ -gcc -g3 -O0 -o afterburner src_pc/afterburner.c +gcc -g3 -O0 -DNO_CLOSE -o afterburner src_pc/afterburner.c diff --git a/compile_win64.sh b/compile_win64.sh index 5fd26f1..3bc90f4 100755 --- a/compile_win64.sh +++ b/compile_win64.sh @@ -1,4 +1,4 @@ # path to your Win64 cross-compiler CC=~/opt/mingw64/bin/x86_64-w64-mingw32-gcc -$CC -g3 -O0 -o afterburner_w64.exe src_pc/afterburner.c -D_USE_WIN_API_ +$CC -g3 -O0 -o afterburner_w64.exe src_pc/afterburner.c -D_USE_WIN_API_ -DNO_CLOSE