From 688ed0d7606c0563073f588098b9bedf904c70a9 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 4 Mar 2006 22:40:25 +0000 Subject: Patch from Robert P. Day, moving byte order checks to use platform.h macros. --- miscutils/hdparm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'miscutils') diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c index e733c9172..bd3065d7e 100644 --- a/miscutils/hdparm.c +++ b/miscutils/hdparm.c @@ -48,8 +48,8 @@ #include -#if (__BYTE_ORDER == __BIG_ENDIAN) && !defined(__USE_XOPEN) -#define __USE_XOPEN +#if BB_BIG_ENDIAN && !defined(__USE_XOPEN) +# define __USE_XOPEN #endif /* device types */ -- cgit v1.2.3