projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8178434
)
Use swap16/32/64 on OpenBSD.
author
Kurt Miller
<bsdkurt@gmail.com>
Tue, 28 Jan 2020 20:52:51 +0000
(15:52 -0500)
committer
Kurt Miller
<bsdkurt@gmail.com>
Tue, 28 Jan 2020 20:52:51 +0000
(15:52 -0500)
os/os-openbsd.h
patch
|
blob
|
blame
|
history
diff --git
a/os/os-openbsd.h
b/os/os-openbsd.h
index 085a6f2b7f397272a3ed0c3fcb20ccdfaea7c6f0..994bf078c9863a1fb0d28bcb940bd224fd1d4a1c 100644
(file)
--- a/
os/os-openbsd.h
+++ b/
os/os-openbsd.h
@@
-31,9
+31,9
@@
#define PTHREAD_STACK_MIN 4096
#endif
-#define fio_swap16(x)
b
swap16(x)
-#define fio_swap32(x)
b
swap32(x)
-#define fio_swap64(x)
b
swap64(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)
{