X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=os%2Fos-hpux.h;h=5943938194cc71027556ae6d59f037e9ca0a5f6d;hb=cca84643cc10cd72b0b453ff92ccb8643ba51493;hp=d7397bff0db6a4e6e5e29982d4e32fbcd97ef1aa;hpb=893b37c668638714f8240a1dcf8548836fe51233;p=fio.git diff --git a/os/os-hpux.h b/os/os-hpux.h index d7397bff..59439381 100644 --- a/os/os-hpux.h +++ b/os/os-hpux.h @@ -1,6 +1,8 @@ #ifndef FIO_OS_HPUX_H #define FIO_OS_HPUX_H +#define FIO_OS os_hpux + #include #include #include @@ -13,6 +15,7 @@ #include #include #include +#include #include "../file.h" @@ -43,6 +46,20 @@ #define MSG_WAITALL 0x40 #endif +#ifdef LITTLE_ENDIAN +#define FIO_LITTLE_ENDIAN +#else +#define FIO_BIG_ENDIAN +#endif + +#define FIO_USE_GENERIC_SWAP + +#define FIO_OS_HAVE_AIOCB_TYPEDEF +typedef struct aiocb64 os_aiocb_t; + +#define FIO_OS_HAVE_SOCKLEN_T +typedef int fio_socklen_t; + static inline int blockdev_invalidate_cache(struct fio_file *f) { return EINVAL;