summaryrefslogtreecommitdiff
path: root/os/os.h
diff options
context:
space:
mode:
authorJens Axboe <jaxboe@fusionio.com>2010-08-11 10:29:12 -0400
committerJens Axboe <jaxboe@fusionio.com>2010-08-11 10:29:12 -0400
commit8e239cae8aae89f07a885ffcc985600ce9c65d5d (patch)
treeea25e2f9e7e37294b5f3fceae55790985715704b /os/os.h
parent2995607f86b7cfc918b3c140f481c5809fc3306c (diff)
downloadfio-8e239cae8aae89f07a885ffcc985600ce9c65d5d.tar.gz
fio-8e239cae8aae89f07a885ffcc985600ce9c65d5d.tar.bz2
Cleanup MSG_DONTWAIT
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'os/os.h')
-rw-r--r--os/os.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/os.h b/os/os.h
index e2bb0ba9..c8f517b6 100644
--- a/os/os.h
+++ b/os/os.h
@@ -37,6 +37,10 @@
#include "../lib/strsep.h"
#endif
+#ifdef MSG_DONTWAIT
+#define OS_MSG_DONTWAIT MSG_DONTWAIT
+#endif
+
#ifndef FIO_HAVE_FADVISE
#define fadvise(fd, off, len, advice) (0)