summaryrefslogtreecommitdiff
path: root/sys/arch/mips/include
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>1999-06-01 17:54:33 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>1999-06-01 17:54:33 +0000
commit4250454a54849b9eebc218dc55bb385295511485 (patch)
treea738cd5f99db4f5bf4d1eaa31565a89588a35187 /sys/arch/mips/include
parent4309307225f09098de013c97346c43afcb9edced (diff)
Fix some mips -> __mips__ stuff.
Diffstat (limited to 'sys/arch/mips/include')
-rw-r--r--sys/arch/mips/include/asm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mips/include/asm.h b/sys/arch/mips/include/asm.h
index 9fc9c7821e2..eec81c0d31c 100644
--- a/sys/arch/mips/include/asm.h
+++ b/sys/arch/mips/include/asm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: asm.h,v 1.2 1998/03/16 09:03:02 pefo Exp $ */
+/* $OpenBSD: asm.h,v 1.3 1999/06/01 17:54:32 pefo Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -64,13 +64,13 @@
/*
* Define how to access unaligned data word
*/
-#ifdef MIPSEL
+#if defined(MIPSEL) || defined(__MIPSEL__)
#define LWLO lwl
#define LWHI lwr
#define SWLO swl
#define SWHI swr
#endif
-#ifdef MIPSEB
+#if defined(MIPSEB) || defined(__MIPSEB__)
#define LWLO lwr
#define LWHI lwl
#define SWLO swr