summaryrefslogtreecommitdiff
path: root/sys/arch/mips/include/asm.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mips/include/asm.h')
-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