From a6a7af368fa30634f4bcabf51cc36c9b50b61a64 Mon Sep 17 00:00:00 2001 From: nhmall Date: Fri, 28 Jan 2022 00:08:02 -0500 Subject: [PATCH] mingw rc and lua version --- sys/windows/Makefile.mingw32 | 12 ++++++------ sys/windows/consoletty.c | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/sys/windows/Makefile.mingw32 b/sys/windows/Makefile.mingw32 index fe015d3d7..3d236dcf7 100644 --- a/sys/windows/Makefile.mingw32 +++ b/sys/windows/Makefile.mingw32 @@ -96,7 +96,7 @@ DEBUGINFO = N #--------------------------------------------------------------- ifndef LUA_VERSION -LUAVER=5.4.3 +LUAVER=5.4.4 else LUAVER=$(LUA_VERSION) endif @@ -104,7 +104,7 @@ endif # Location of LUA # # Original source needs to be obtained from: -# http://www.lua.org/ftp/lua-5.4.3.tar.gz +# http://www.lua.org/ftp/lua-5.4.4.tar.gz # # This build assumes that the LUA sources are located # at the specified location. If they are actually elsewhere @@ -206,10 +206,10 @@ rc = windres --target=pe-i386 else cc = gcc -c ld = gcc -ifeq "$(MSYSTEM)" "MINGW64" -rc = windres --target=pe-x86-64 -else # MINGW32 +ifeq "$(MSYSTEM)" "MINGW32" rc = windres --target=pe-i386 +else # MINGW32 +rc = windres --target=pe-x86-64 endif endif @@ -250,7 +250,7 @@ CLEAN_DIR = $(GAMEDIR) $(OBJ) #===============-================================================= # LUA library -# Source from http://www.lua.org/ftp/lua-5.4.3.tar.gz +# Source from http://www.lua.org/ftp/lua-5.4.4.tar.gz #================================================================= OLUA = $(O)lua diff --git a/sys/windows/consoletty.c b/sys/windows/consoletty.c index 73d560a6a..47205ae09 100644 --- a/sys/windows/consoletty.c +++ b/sys/windows/consoletty.c @@ -2793,7 +2793,7 @@ static boolean qwertz = FALSE; #endif #define inmap(x, vk) (((x) > 'A' && (x) < 'Z') || (vk) == 0xBF || (x) == '2') -const struct pad { +struct pad { uchar normal, shift, cntrl; };