summaryrefslogtreecommitdiff
path: root/os/os-solaris.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/os-solaris.h')
-rw-r--r--os/os-solaris.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/os/os-solaris.h b/os/os-solaris.h
index 9e243e8a..759f3c1b 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];