Patch from Robert P. Day, moving byte order checks to use platform.h macros.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user