Patch from Robert P. Day, moving byte order checks to use platform.h macros.

This commit is contained in:
Rob Landley
2006-03-04 22:40:25 +00:00
parent d9969ea175
commit 688ed0d760
4 changed files with 17 additions and 17 deletions

View File

@@ -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 */