From ea2a98d92db3657eca129eb6f037c28986f1bf41 Mon Sep 17 00:00:00 2001 From: YunQiang Su Date: Wed, 18 Dec 2019 03:40:56 -0800 Subject: [PATCH] make mips1.cpp recognize all mips currently mips1.cpp can only recognize mips 32bit (MIPS1 by __mips=1, and mips2 above by R3000). 64bit cannot be recognized. So drop the __mips==1 here. --- checks/architecture/mips1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checks/architecture/mips1.cpp b/checks/architecture/mips1.cpp index adc4a61d..b4a670b8 100644 --- a/checks/architecture/mips1.cpp +++ b/checks/architecture/mips1.cpp @@ -6,6 +6,6 @@ // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -#if !((defined(__mips) && __mips == 1) || defined(_MIPS_ISA_MIPS1) || defined(_R3000)) +#if !(defined(__mips) || defined(_MIPS_ISA_MIPS1) || defined(_R3000)) #error "Not MIPS1" #endif