Fix for GCC MIPS toolchain
diff --git a/include/mips.h b/include/mips.h
index 75ac91c..8a7a55a 100644
--- a/include/mips.h
+++ b/include/mips.h
@@ -11,6 +11,10 @@
 #include <stdint.h>
 #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