From c229b8fb76ee36eee0a354f9be0d66274cdfe098 Mon Sep 17 00:00:00 2001 From: rw-r-r-0644 Date: Sun, 23 Sep 2018 10:48:00 +0200 Subject: [PATCH] wiiu: explicitly set endianess in config (thanks @quarktheawesome) [needed for missing defines in toolchain] --- include/SDL_config_wiiu.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/SDL_config_wiiu.h b/include/SDL_config_wiiu.h index 4e8dc37db..ca417e5a9 100644 --- a/include/SDL_config_wiiu.h +++ b/include/SDL_config_wiiu.h @@ -154,5 +154,10 @@ /* Wii U can't load shared object (src/loadso/dummy/\*.c) */ #define SDL_LOADSO_DISABLED 1 +/* Hack: for some reason some arch defines are missing in the + toolchain, so SDL_endian.h will think we're little endian + without that */ +#define SDL_BYTEORDER SDL_BIG_ENDIAN + #endif /* SDL_config_wiiu_h_ */