aboutsummaryrefslogtreecommitdiff
path: root/target-mips/mips-defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'target-mips/mips-defs.h')
-rw-r--r--target-mips/mips-defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-mips/mips-defs.h b/target-mips/mips-defs.h
index a796c7e096..5c98edf974 100644
--- a/target-mips/mips-defs.h
+++ b/target-mips/mips-defs.h
@@ -8,7 +8,7 @@
#define TARGET_PAGE_BITS 12
#define MIPS_TLB_MAX 128
-#ifdef TARGET_MIPS64
+#if defined(TARGET_MIPSN32) || defined(TARGET_MIPS64)
#define TARGET_LONG_BITS 64
#else
#define TARGET_LONG_BITS 32