X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=os%2Fos-hpux.h;h=821c91690b12c8165488c5d2e99170d98a77e1af;hp=4353a0199aa64c5c857613d9bc4b1c7331e7f45f;hb=93bcfd20e37cef8cec350fe06d3a086724c9f257;hpb=e97c14423a5688d7adfb342c16363c263cb741f9 diff --git a/os/os-hpux.h b/os/os-hpux.h index 4353a019..821c9169 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,12 +15,14 @@ #include #include #include +#include #include "../file.h" #define FIO_HAVE_POSIXAIO #define FIO_HAVE_ODIRECT #define FIO_USE_GENERIC_RAND +#define FIO_USE_GENERIC_INIT_RANDOM_STATE #define FIO_HAVE_CLOCK_MONOTONIC #define FIO_HAVE_PSHARED_MUTEX #define FIO_HAVE_FADVISE @@ -43,9 +47,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;