From c27f13c6c9f2df5ce2fd74652d3388c3f3c5a843 Mon Sep 17 00:00:00 2001 From: bigmagic Date: Tue, 7 Apr 2020 19:01:54 +0800 Subject: [PATCH] [mips]fix a bug --- libcpu/mips/common/mips_regs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcpu/mips/common/mips_regs.h b/libcpu/mips/common/mips_regs.h index a7db15d2ad..c5dd727e23 100644 --- a/libcpu/mips/common/mips_regs.h +++ b/libcpu/mips/common/mips_regs.h @@ -17,7 +17,7 @@ #define REG_FP 30 #define REG_RA 31 -#ifdef ARCH_MIPS64 +#ifndef ARCH_MIPS64 #define zero $0 /* wired zero */ #define AT $1 /* assembler temp - uppercase because of ".set at" */ #define v0 $2 /* return value */