diff options
author | 2016-07-12 23:17:19 +1000 | |
---|---|---|
committer | 2016-07-12 23:17:19 +1000 | |
commit | 3eb0e84041a4739aea6479839b7914916bcfe837 (patch) | |
tree | b98d930af40cf820756ef185ec461424ad256254 /scripts/src/tools.lua | |
parent | ba32818610472a2d850cc501c98a07ff12e33728 (diff) |
fix build on debian ppc64 with -maltivec (nw)
problem is caused by <SDL2/SDL_cpuinfo.h> puling in <altivec.h> which #defines vector, pixel and bool
however when the compiler is in Apple Altivec mode, these are context-sensitive keywords and don't need to be #defined
we never need the #defines in our own code because we use the GCC-specific __vector instead of vector
so we trick the header to think the compiler is in Apple Altivec mode to suppress the #defines
Diffstat (limited to 'scripts/src/tools.lua')
0 files changed, 0 insertions, 0 deletions