Further fixes for ppc64le and SDL2.

This commit is contained in:
Stephen Anthony 2017-05-03 21:26:41 -02:30
parent 28b237794d
commit 684c227381
1 changed files with 9 additions and 1 deletions

View File

@ -19,6 +19,14 @@
#define SDL_LIB_HXX #define SDL_LIB_HXX
#include <SDL.h> #include <SDL.h>
#undef bool // Seems to be needed for ppc64le, doesn't hurt other archs
/*
Seems to be needed for ppc64le, doesn't hurt other archs
Note that this is a problem in SDL2, which includes <altivec.h>
https://bugzilla.redhat.com/show_bug.cgi?id=1419452
*/
#undef vector
#undef pixel
#undef bool
#endif #endif