summaryrefslogtreecommitdiff
path: root/os/os-solaris.h
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2008-06-02 12:23:40 +0200
committerJens Axboe <jens.axboe@oracle.com>2008-06-02 12:23:40 +0200
commitfffca02dfd1b700903ba23b67fab7b59bf460ec2 (patch)
tree1cd05ee956b796f90617a4148db3ef7120adf60b /os/os-solaris.h
parent3c48c2c1c702047f8a92fa21fdd1471781b9dab4 (diff)
downloadfio-fffca02dfd1b700903ba23b67fab7b59bf460ec2.tar.gz
fio-fffca02dfd1b700903ba23b67fab7b59bf460ec2.tar.bz2
Guard posix_fallocate() behind OS define
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'os/os-solaris.h')
-rw-r--r--os/os-solaris.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/os/os-solaris.h b/os/os-solaris.h
index 7fa0bb50..ae905169 100644
--- a/os/os-solaris.h
+++ b/os/os-solaris.h
@@ -9,6 +9,7 @@
#undef FIO_HAVE_DISK_UTIL
#undef FIO_HAVE_SGIO
#undef FIO_HAVE_ODIRECT
+#define FIO_HAVE_FALLOCATE
#define OS_MAP_ANON (MAP_ANON)