Fix inclusion of sdl_inc.h in Duke3D's config.cpp

git-svn-id: https://svn.eduke32.com/eduke32@6926 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-06-14 21:25:20 +00:00
parent 84cae053c1
commit e1a532a15d

View file

@ -30,6 +30,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# include "android.h" # include "android.h"
#endif #endif
#if defined RENDERTYPESDL && defined SDL_TARGET && SDL_TARGET > 1
# include "sdl_inc.h"
#endif
// we load this in to get default button and key assignments // we load this in to get default button and key assignments
// as well as setting up function mappings // as well as setting up function mappings
@ -133,9 +137,6 @@ void CONFIG_SetDefaultKeys(const char (*keyptr)[MAXGAMEFUNCLEN])
} }
} }
#if defined SDL_TARGET && SDL_TARGET > 1
# include "sdl_inc.h"
#endif
void CONFIG_SetDefaults(void) void CONFIG_SetDefaults(void)
{ {