diff options
author | Marc Espie <espie@cvs.openbsd.org> | 1999-05-10 16:02:17 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 1999-05-10 16:02:17 +0000 |
commit | c606ee6a29b096ead9a5b55824175725213f4afe (patch) | |
tree | abce6749743154fda121f71aa999d83efb864499 /sys/arch/sparc/include/endian.h | |
parent | ff033804148a0c0e9158bbe058a5738c6a77b06c (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/sparc/include/endian.h')
-rw-r--r-- | sys/arch/sparc/include/endian.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/include/endian.h b/sys/arch/sparc/include/endian.h index 2a995812c47..f4f12ca5f46 100644 --- a/sys/arch/sparc/include/endian.h +++ b/sys/arch/sparc/include/endian.h @@ -1,4 +1,4 @@ -/* $OpenBSD: endian.h,v 1.8 1997/11/09 23:05:16 niklas Exp $ */ +/* $OpenBSD: endian.h,v 1.9 1999/05/10 16:02:15 espie Exp $ */ /*- * Copyright (c) 1997 Niklas Hallqvist. All rights reserved. @@ -32,7 +32,7 @@ #ifndef _SPARC_ENDIAN_H_ #define _SPARC_ENDIAN_H_ -#define BYTE_ORDER 4321 +#define BYTE_ORDER BIG_ENDIAN #include <sys/endian.h> #endif /* _SPARC_ENDIAN_H_ */ |