summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/include
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-05-10 16:02:17 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-05-10 16:02:17 +0000
commitc606ee6a29b096ead9a5b55824175725213f4afe (patch)
treeabce6749743154fda121f71aa999d83efb864499 /sys/arch/hppa/include
parentff033804148a0c0e9158bbe058a5738c6a77b06c (diff)
Use symbolic define for BYTE_ORDER.
(don't forget that cpp is `lazy': #define A B #define B value #if A == value works, since A isn't extended before it's needed, by which time B is known)
Diffstat (limited to 'sys/arch/hppa/include')
-rw-r--r--sys/arch/hppa/include/endian.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/include/endian.h b/sys/arch/hppa/include/endian.h
index 332833ba12d..335512c9096 100644
--- a/sys/arch/hppa/include/endian.h
+++ b/sys/arch/hppa/include/endian.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: endian.h,v 1.2 1998/12/05 17:29:50 mickey Exp $ */
+/* $OpenBSD: endian.h,v 1.3 1999/05/10 16:02:08 espie Exp $ */
/*
* Copyright (c) 1998 Michael Shalayeff
@@ -58,7 +58,7 @@
#endif /* __GNUC__ */
-#define BYTE_ORDER 4321
+#define BYTE_ORDER BIG_ENDIAN
#include <sys/endian.h>
#endif /* !_MACHINE_ENDIAN_H_ */