From b37c889bf62a36bfc3a70a30cb8c6e2e9b253d51 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 13 Dec 2005 00:35:25 +0000 Subject: First step in include files overhaul. Use __FOO_VISIBLE (as defined in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace pollution issues, including the byte order defines. OK deraadt@ --- sys/arch/powerpc/include/endian.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/arch/powerpc/include') diff --git a/sys/arch/powerpc/include/endian.h b/sys/arch/powerpc/include/endian.h index 28a0ca68314..5438566fb76 100644 --- a/sys/arch/powerpc/include/endian.h +++ b/sys/arch/powerpc/include/endian.h @@ -1,4 +1,4 @@ -/* $OpenBSD: endian.h,v 1.12 2003/06/03 21:09:02 deraadt Exp $ */ +/* $OpenBSD: endian.h,v 1.13 2005/12/13 00:35:23 millert Exp $ */ /*- * Copyright (c) 1997 Niklas Hallqvist. All rights reserved. @@ -27,7 +27,8 @@ #ifndef _POWERPC_ENDIAN_H_ #define _POWERPC_ENDIAN_H_ -#define BYTE_ORDER BIG_ENDIAN +#undef _BYTE_ORDER /* XXX - gcc may define _BYTE_ORDER too */ +#define _BYTE_ORDER _BIG_ENDIAN #include #define __STRICT_ALIGNMENT -- cgit v1.2.3