X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=os%2Fos-openbsd.h;h=994bf078c9863a1fb0d28bcb940bd224fd1d4a1c;hb=2fbe1e195999e23c95b08d03eadac0b5f95330e7;hp=085a6f2b7f397272a3ed0c3fcb20ccdfaea7c6f0;hpb=2198a6b5a9f40726b40aced24cf2dcdb3b639898;p=fio.git diff --git a/os/os-openbsd.h b/os/os-openbsd.h index 085a6f2b..994bf078 100644 --- a/os/os-openbsd.h +++ b/os/os-openbsd.h @@ -31,9 +31,9 @@ #define PTHREAD_STACK_MIN 4096 #endif -#define fio_swap16(x) bswap16(x) -#define fio_swap32(x) bswap32(x) -#define fio_swap64(x) bswap64(x) +#define fio_swap16(x) swap16(x) +#define fio_swap32(x) swap32(x) +#define fio_swap64(x) swap64(x) static inline int blockdev_size(struct fio_file *f, unsigned long long *bytes) {