From 3a0ec7e8958f5ed5ff48efeeffbdb22dd39c8999 Mon Sep 17 00:00:00 2001 From: EkeEke Date: Tue, 19 Sep 2017 12:19:28 +0200 Subject: [PATCH] [Wii] fix compilation issue caused by libretro patch to libchdr --- core/cd_hw/libchdr/src/chd.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/cd_hw/libchdr/src/chd.c b/core/cd_hw/libchdr/src/chd.c index 36200a6..cba334f 100644 --- a/core/cd_hw/libchdr/src/chd.c +++ b/core/cd_hw/libchdr/src/chd.c @@ -43,6 +43,7 @@ #include #include "types.h" #include "osd.h" +#include "macros.h" #include "chd.h" #include "cdrom.h" #include "flac.h" @@ -51,9 +52,13 @@ #include "LzmaEnc.h" #include "LzmaDec.h" +#undef TRUE +#undef FALSE #define TRUE 1 #define FALSE 0 +#undef MAX +#undef MIN #define MAX(x, y) (((x) > (y)) ? (x) : (y)) #define MIN(x, y) (((x) < (y)) ? (x) : (y))