Add thread_segments as needed
[fio.git] / os / os-openbsd.h
index 43a649d447bcaeaa3d72f6cdd4dcd58194bd4393..994bf078c9863a1fb0d28bcb940bd224fd1d4a1c 100644 (file)
 #define PTHREAD_STACK_MIN 4096
 #endif
 
-#define fio_swap16(x)  bswap16(x)
-#define fio_swap32(x)  bswap32(x)
-#define fio_swap64(x)  bswap64(x)
-
-typedef off_t off64_t;
+#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)
 {