From c606ee6a29b096ead9a5b55824175725213f4afe Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Mon, 10 May 1999 16:02:17 +0000 Subject: 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) --- sys/arch/arm32/include/endian.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/arm32/include') diff --git a/sys/arch/arm32/include/endian.h b/sys/arch/arm32/include/endian.h index 781bc79d3bf..ace03be3355 100644 --- a/sys/arch/arm32/include/endian.h +++ b/sys/arch/arm32/include/endian.h @@ -1,4 +1,4 @@ -/* $OpenBSD: endian.h,v 1.5 1997/11/10 00:10:14 niklas Exp $ */ +/* $OpenBSD: endian.h,v 1.6 1999/05/10 16:02:08 espie Exp $ */ /*- * Copyright (c) 1997 Niklas Hallqvist. All rights reserved. @@ -32,7 +32,7 @@ #ifndef _ARM32_ENDIAN_H_ #define _ARM32_ENDIAN_H_ -#define BYTE_ORDER 1234 +#define BYTE_ORDER LITTLE_ENDIAN #include #endif /* _ARM32_ENDIAN_H_ */ -- cgit v1.2.3