commit | 0dcebdf4a70ef0d8144b8fcba763ae87e7fc74b5 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Wed Jan 23 15:42:16 2013 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Jan 23 15:42:16 2013 -0700 |
tree | ded78ffef7b51af0a945a9d5345fc2f41bdf3d38 | |
parent | 37adbfc4e189873d1d02c145b81c779971ef5337 [diff] [blame] |
configure: add endian check Will remove guesswork and manual hacking in the OS headers. Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/os/os.h b/os/os.h index a14d7f0..fb544a1 100644 --- a/os/os.h +++ b/os/os.h
@@ -165,7 +165,7 @@ #endif #ifndef FIO_HAVE_BYTEORDER_FUNCS -#ifdef FIO_LITTLE_ENDIAN +#ifdef CONFIG_LITTLE_ENDIAN #define __le16_to_cpu(x) (x) #define __le32_to_cpu(x) (x) #define __le64_to_cpu(x) (x)