From c75de5a0265065291fd66479e6214d9d9bb630a2 Mon Sep 17 00:00:00 2001 From: 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. git-svn-id: svn://busybox.net/trunk/busybox@14448 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- miscutils/hdparm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'miscutils/hdparm.c') 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-55-g6feb