Browse Source

Add undef

merge-requests/2/head
Miloslav Číž 2 years ago
parent
commit
a13d659936
  1. 4
      main_sdl.c
  2. 2
      make.sh

4
main_sdl.c

@ -245,7 +245,7 @@ int8_t SFG_keyPressed(uint8_t key) @@ -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) @@ -253,6 +253,8 @@ int8_t SFG_keyPressed(uint8_t key)
default: return 0; break;
}
#undef k
}
int running;

2
make.sh

@ -39,7 +39,7 @@ if [ $1 == "sdl" ]; then @@ -39,7 +39,7 @@ if [ $1 == "sdl" ]; then
echo ${COMMAND}
${COMMAND} && ./anarch
${COMMAND} && ./anarch -w
elif [ $1 == "terminal" ]; then
# PC terminal build, requires:
# - g++

Loading…
Cancel
Save