From d24bd5c9f6d15b9efd565557840ea2003d498322 Mon Sep 17 00:00:00 2001 From: Fierelier Date: Sat, 12 Aug 2023 06:34:04 +0200 Subject: [PATCH] Make sure to target XP --- compile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compile b/compile index 36ff95e..0fed802 100755 --- a/compile +++ b/compile @@ -31,7 +31,7 @@ if [ "$target_os" = "windows" ]; then SDLPATH="${SDLPATH:=SDL2}" # https://github.com/libsdl-org/SDL/releases LUAPATH="${LUAPATH:=lua5.3/src}" # https://www.lua.org/ftp/lua-5.3.6.tar.gz "$PYTHON" lua_translate - "$CC" -std=gnu89 src/main.c -g -L"$MINGWPATH\\lib" -w -Wl,-subsystem,windows -lmingw32 -L"$LUAPATH" -I"$LUAPATH" -I"$SDLPATH/include" -L"$SDLPATH/lib" -lSDL2main -lSDL2 -llua53 -lm -o engine.exe -O3 -Werror -Wall $CFLAGS + "$CC" -D_WIN32_WINNT=0x0501 -std=gnu89 src/main.c -g -L"$MINGWPATH\\lib" -w -Wl,-subsystem,windows -lmingw32 -L"$LUAPATH" -I"$LUAPATH" -I"$SDLPATH/include" -L"$SDLPATH/lib" -lSDL2main -lSDL2 -llua53 -lm -o engine.exe -O3 -Werror -Wall $CFLAGS exit fi