From a9df7070ea889f7ad439a605cb1ac412f75f511e Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 4 Oct 2011 23:54:28 +0200 Subject: [PATCH] Assume AIX is big endian Probably lots of PPC boxes on AIX out there than Intel... Signed-off-by: Jens Axboe --- os/os-aix.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/os/os-aix.h b/os/os-aix.h index 91c8bcda..ccf3bb2c 100644 --- a/os/os-aix.h +++ b/os/os-aix.h @@ -25,6 +25,10 @@ #define OS_MAP_ANON MAP_ANON #define OS_MSG_DONTWAIT 0 +#warning "Assuming big endian on AIX, fix me up" +#define FIO_BIG_ENDIAN +#define FIO_USE_GENERIC_SWAP + static inline int blockdev_invalidate_cache(struct fio_file *f) { return EINVAL; -- 2.25.1