summaryrefslogtreecommitdiffhomepage
path: root/miscutils/hdparm.c
diff options
context:
space:
mode:
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 @@
#include <asm/byteorder.h>
-#if (__BYTE_ORDER == __BIG_ENDIAN) && !defined(__USE_XOPEN)
-#define __USE_XOPEN
+#if BB_BIG_ENDIAN && !defined(__USE_XOPEN)
+# define __USE_XOPEN
#endif
/* device types */