From 7907e36fd4d85461f46ded04faac893c47d41eff Mon Sep 17 00:00:00 2001 From: Michael Martin Date: Sat, 16 Nov 2019 22:09:21 -0800 Subject: [PATCH] Lose Apple branch of SDL_include and prefer non-system headers --- sc2/src/port.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sc2/src/port.h b/sc2/src/port.h index 8e3aa6386..61ffd41e3 100644 --- a/sc2/src/port.h +++ b/sc2/src/port.h @@ -462,11 +462,7 @@ typedef unsigned int wint_t; // Use SDL_INCLUDE to portably include the SDL files from the right location. // The SDL_DIR definition is provided by the build configuration. -#ifdef __APPLE__ -# define SDL_INCLUDE(file) -#else -# define SDL_INCLUDE(file) -#endif /* SDL_DIR */ +#define SDL_INCLUDE(file) #file // Mark a function as using printf-style function arguments, so that // extra consistency checks can be made by the compiler.