Cleanup DragonFlyBSD support
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 16 May 2015 01:17:14 +0000 (10:17 +0900)
committerTomohiro 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

index cc3de31e5a0811334bb6f296698896c6c56ebf9f..bc855baf1cab993e8049ea21e66c7e6082743d6b 100644 (file)
@@ -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"