From a13d659936b7c3f690efffe708ce24623ce6a071 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20=C4=8C=C3=AD=C5=BE?= Date: Sun, 10 Jan 2021 20:44:45 +0100 Subject: [PATCH] Add undef --- main_sdl.c | 4 +++- make.sh | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/main_sdl.c b/main_sdl.c index b4a1d80..aaadf3a 100644 --- a/main_sdl.c +++ b/main_sdl.c @@ -245,7 +245,7 @@ int8_t SFG_keyPressed(uint8_t key) checkMouse(<) #undef checkMouse - + return 0; break; @@ -253,6 +253,8 @@ int8_t SFG_keyPressed(uint8_t key) default: return 0; break; } + + #undef k } int running; diff --git a/make.sh b/make.sh index be1a6b6..229e912 100755 --- a/make.sh +++ b/make.sh @@ -39,7 +39,7 @@ if [ $1 == "sdl" ]; then echo ${COMMAND} - ${COMMAND} && ./anarch + ${COMMAND} && ./anarch -w elif [ $1 == "terminal" ]; then # PC terminal build, requires: # - g++