diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2005-12-13 00:35:25 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2005-12-13 00:35:25 +0000 |
commit | b37c889bf62a36bfc3a70a30cb8c6e2e9b253d51 (patch) | |
tree | 12a945cbf5263926f1c35d9dab17e5ca17d14869 /sys/arch/powerpc/include | |
parent | 4623e5435a9e80c267c1b601a543e14f95b883da (diff) |
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@
Diffstat (limited to 'sys/arch/powerpc/include')
-rw-r--r-- | sys/arch/powerpc/include/endian.h | 5 |
1 files changed, 3 insertions, 2 deletions
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 <sys/endian.h> #define __STRICT_ALIGNMENT |