aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mips/sys/asm.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mips/sys/asm.h')
-rw-r--r--sysdeps/mips/sys/asm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mips/sys/asm.h b/sysdeps/mips/sys/asm.h
index 6c94cee5d7..0ff88027db 100644
--- a/sysdeps/mips/sys/asm.h
+++ b/sysdeps/mips/sys/asm.h
@@ -418,7 +418,7 @@ symbol = value
# define PTR_ADDI addi
# define PTR_SUB sub
# define PTR_SUBI subi
-#if __mips_isa_rev < 6
+#if !defined __mips_isa_rev || __mips_isa_rev < 6
# define PTR_ADDU add /* no u */
# define PTR_ADDIU addi /* no u */
# define PTR_SUBU sub /* no u */