commit | 3a25554bb05bdac8e1d271ab961fd6d0299db121 | [log] [tgz] |
---|---|---|
author | Sam Lantinga <slouken@libsdl.org> | Mon Nov 19 21:28:52 2018 -0800 |
committer | Sam Lantinga <slouken@libsdl.org> | Mon Nov 19 21:28:52 2018 -0800 |
tree | a73b4d571a21abe4cbb6ac678bed03da85cc8872 | |
parent | 70916714ebddd602440df24c5b2d3e30a7479499 [diff] |
Fixed bug 4392 - SDL_cpuinfo.h breaks compilation with C bool type Luke Dashjr Bug 3993 was "fixed" by #undef'ing bool. But this breaks C99's stdbool.h bool too. For example, mpv's build fails with: ../audio/out/ao_sdl.c:35:5: error: unknown type name ‘bool’ It seems ill-advised to be #undef'ing *anything* here - what if the code including SDL_cpuinfo.h actually wants to use altivec?