summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/video/rgbvmx.h
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2011-10-13 02:29:27 +0000
committer R. Belmont <rb6502@users.noreply.github.com>2011-10-13 02:29:27 +0000
commit2a5eeb3d8f33541d496f5532d9bf1f32d250e5e9 (patch)
tree71a64c8d5895f57c3b7becd1459bf4cf31121a45 /src/emu/video/rgbvmx.h
parent8ba2394f81eaac0a9634471530c7653cfeeee9b1 (diff)
Fix PowerPC OS X compile (nw)
Diffstat (limited to 'src/emu/video/rgbvmx.h')
-rw-r--r--src/emu/video/rgbvmx.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/emu/video/rgbvmx.h b/src/emu/video/rgbvmx.h
index c2fbdc3f9d1..3d1898226d6 100644
--- a/src/emu/video/rgbvmx.h
+++ b/src/emu/video/rgbvmx.h
@@ -430,5 +430,9 @@ INLINE void rgbaint_bilinear_filter(rgbaint *color, rgb_t rgb00, rgb_t rgb01, rg
*color = vec_packs((vector signed int)color01, (vector signed int)color01);
}
+// altivec.h somehow redefines "bool" in a bad way on PowerPC Mac OS X. really.
+#ifdef SDLMAME_MACOSX
+#include <stdbool.h>
+#endif
#endif /* __RGBVMX__ */