projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e55d40
)
Cleanup DragonFlyBSD support
author
Tomohiro Kusumi
<kusumi.tomohiro@gmail.com>
Sat, 16 May 2015 01:17:14 +0000
(10:17 +0900)
committer
Tomohiro Kusumi
<kusumi.tomohiro@gmail.com>
Sat, 16 May 2015 01:17:14 +0000
(10:17 +0900)
Remove these define/undef since fio compiles on DragonFlyBSD
without them.
<sys/rb.h> seems to have never existed in DragonFlyBSD history,
and it compiles without these define/undef. It seems this hack
was necessary on some older versions of NetBSD.
os/os-dragonfly.h
patch
|
blob
|
blame
|
history
diff --git
a/os/os-dragonfly.h
b/os/os-dragonfly.h
index cc3de31e5a0811334bb6f296698896c6c56ebf9f..bc855baf1cab993e8049ea21e66c7e6082743d6b 100644
(file)
--- a/
os/os-dragonfly.h
+++ b/
os/os-dragonfly.h
@@
-5,12
+5,7
@@
#include <errno.h>
#include <sys/param.h>
-/* XXX hack to avoid confilcts between rbtree.h and <sys/rb.h> */
-#define rb_node _rb_node
#include <sys/sysctl.h>
-#undef rb_node
-#undef rb_left
-#undef rb_right
#include "../file.h"