commit | dc873b6f4a536c332b72cce268d5a7ccd356a891 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Wed Jun 04 20:13:04 2008 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Wed Jun 04 20:13:04 2008 +0200 |
tree | ba42b3db0ebbcffad2c90afe194edd159f953632 | |
parent | da28353c3fb45a8a6ee00d1133efd483c0ae684c [diff] [blame] |
Add OS agnostic RAND_MAX Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/os/os-solaris.h b/os/os-solaris.h index 9e243e8..759f3c1 100644 --- a/os/os-solaris.h +++ b/os/os-solaris.h
@@ -9,7 +9,8 @@ #define FIO_HAVE_FALLOCATE #define FIO_HAVE_POSIXAIO_FSYNC -#define OS_MAP_ANON (MAP_ANON) +#define OS_MAP_ANON MAP_ANON +#define OS_RAND_MAX 2147483648UL struct solaris_rand_seed { unsigned short r[3];