From 89d20f98666d8b9b0a6666d8aa62151091ce6f99 Mon Sep 17 00:00:00 2001 From: Couriersud Date: Sun, 17 Jan 2010 19:21:04 +0000 Subject: [PATCH] Undef two defines from Solaris stdlib.h which collide with mame. --- src/emu/emucore.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/emu/emucore.h b/src/emu/emucore.h index f0917b83c1f..0152d2f61fc 100644 --- a/src/emu/emucore.h +++ b/src/emu/emucore.h @@ -21,6 +21,12 @@ #include #include +// some cleanups for Solaris for things defined in stdlib.h +#ifdef SDLMAME_SOLARIS +#undef si_status +#undef WWORD +#endif + // standard C++ includes #include