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/amd64/include/endian.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/amd64') diff --git a/sys/arch/amd64/include/endian.h b/sys/arch/amd64/include/endian.h index 9e2734b8b7c..7cdd9bfb1e6 100644 --- a/sys/arch/amd64/include/endian.h +++ b/sys/arch/amd64/include/endian.h @@ -1,4 +1,4 @@ -/* $OpenBSD: endian.h,v 1.2 2005/12/12 13:19:15 jsg Exp $ */ +/* $OpenBSD: endian.h,v 1.3 2005/12/13 00:35:22 millert Exp $ */ /*- * Copyright (c) 1997 Niklas Hallqvist. All rights reserved. @@ -56,7 +56,7 @@ #endif /* __GNUC__ */ -#define BYTE_ORDER LITTLE_ENDIAN +#define _BYTE_ORDER _LITTLE_ENDIAN #include #endif /* _I386_ENDIAN_H_ */ -- cgit v1.2.3