diff options
author | Jens Axboe <axboe@kernel.dk> | 2013-01-23 15:42:16 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-01-23 15:42:16 -0700 |
commit | 0dcebdf4a70ef0d8144b8fcba763ae87e7fc74b5 (patch) | |
tree | ded78ffef7b51af0a945a9d5345fc2f41bdf3d38 /os/os-netbsd.h | |
parent | 37adbfc4e189873d1d02c145b81c779971ef5337 (diff) | |
download | fio-0dcebdf4a70ef0d8144b8fcba763ae87e7fc74b5.tar.gz fio-0dcebdf4a70ef0d8144b8fcba763ae87e7fc74b5.tar.bz2 |
configure: add endian check
Will remove guesswork and manual hacking in the OS headers.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'os/os-netbsd.h')
-rw-r--r-- | os/os-netbsd.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/os/os-netbsd.h b/os/os-netbsd.h index 1753226e..4b0269e6 100644 --- a/os/os-netbsd.h +++ b/os/os-netbsd.h @@ -6,7 +6,6 @@ #include <errno.h> #include <lwp.h> #include <sys/param.h> -#include <sys/endian.h> /* XXX hack to avoid confilcts between rbtree.h and <sys/rb.h> */ #define rb_node _rb_node #include <sys/sysctl.h> @@ -30,12 +29,6 @@ #define PTHREAD_STACK_MIN 4096 #endif -#if BYTE_ORDER == LITTLE_ENDIAN -#define FIO_LITTLE_ENDIAN -#else -#define FIO_BIG_ENDIAN -#endif - #define fio_swap16(x) bswap16(x) #define fio_swap32(x) bswap32(x) #define fio_swap64(x) bswap64(x) |