mirror of https://github.com/snes9xgit/snes9x.git
gtk: Undef vector and bool after SDL.h
This commit is contained in:
parent
683bba5b77
commit
c3388602bb
|
@ -5,7 +5,6 @@
|
|||
\*****************************************************************************/
|
||||
|
||||
#include <fcntl.h>
|
||||
#include "SDL.h"
|
||||
|
||||
#include "gtk_s9xcore.h"
|
||||
#include "gtk_s9x.h"
|
||||
|
|
|
@ -11,6 +11,9 @@
|
|||
|
||||
#include "gtk_binding.h"
|
||||
#include "SDL.h"
|
||||
// SDL.h may include altivec.h which redefines vector and bool
|
||||
#undef vector
|
||||
#undef bool
|
||||
|
||||
const int NUM_JOYPADS = 10;
|
||||
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
#define __GTK_SOUND_DRIVER_SDL_H
|
||||
|
||||
#include "SDL.h"
|
||||
#undef vector
|
||||
#undef bool
|
||||
|
||||
#include "gtk_sound.h"
|
||||
#include "gtk_sound_driver.h"
|
||||
|
|
Loading…
Reference in New Issue