From 8a26bd36d5ce6239935289baca9b37962a934d06 Mon Sep 17 00:00:00 2001 From: schwoop Date: Fri, 6 Jun 2014 17:28:43 +0200 Subject: [PATCH] Fix for GCC MIPS toolchain --- include/mips.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/mips.h b/include/mips.h index 75ac91c7..8a7a55ab 100644 --- a/include/mips.h +++ b/include/mips.h @@ -11,6 +11,10 @@ extern "C" { #include #include "platform.h" +// GCC MIPS toolchain has a default macro called "mips" which breaks +// compilation +#undef mips + #ifdef _MSC_VER #pragma warning(disable:4201) #endif