projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c0ecd2
)
[PATCH] Remember to define OS_O_DIRECT to OS type if available
author
Jens Axboe
<axboe@suse.de>
Thu, 8 Jun 2006 11:26:31 +0000
(13:26 +0200)
committer
Jens Axboe
<axboe@suse.de>
Thu, 8 Jun 2006 11:26:31 +0000
(13:26 +0200)
os.h
patch
|
blob
|
blame
|
history
diff --git
a/os.h
b/os.h
index 1160f44c435c967625c152829f889b5bcbd5951d..1bce2f64028324d7b1e982ce8c1d42305cb31ec5 100644
(file)
--- a/
os.h
+++ b/
os.h
@@
-42,7
+42,9
@@
#endif
#ifndef FIO_HAVE_ODIRECT
-#define OS_O_DIRECT (0)
+#define OS_O_DIRECT 0
+#else
+#define OS_O_DIRECT O_DIRECT
#endif
struct thread_data;