aboutsummaryrefslogtreecommitdiff
path: root/miscutils/hdparm.c
diff options
context:
space:
mode:
authorlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-03-04 22:40:25 +0000
committerlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-03-04 22:40:25 +0000
commitc75de5a0265065291fd66479e6214d9d9bb630a2 (patch)
tree123b85ec83aede5c1323d95297dc6d67f3b9e1f5 /miscutils/hdparm.c
parent6c391a67d3fb72ad56f1e5fddf62b5c687aae041 (diff)
downloadbusybox-w32-c75de5a0265065291fd66479e6214d9d9bb630a2.tar.gz
busybox-w32-c75de5a0265065291fd66479e6214d9d9bb630a2.tar.bz2
busybox-w32-c75de5a0265065291fd66479e6214d9d9bb630a2.zip
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
Diffstat (limited to 'miscutils/hdparm.c')
-rw-r--r--miscutils/hdparm.c4
1 files changed, 2 insertions, 2 deletions
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 @@
48#include <asm/byteorder.h> 48#include <asm/byteorder.h>
49 49
50 50
51#if (__BYTE_ORDER == __BIG_ENDIAN) && !defined(__USE_XOPEN) 51#if BB_BIG_ENDIAN && !defined(__USE_XOPEN)
52#define __USE_XOPEN 52# define __USE_XOPEN
53#endif 53#endif
54 54
55/* device types */ 55/* device types */