Fix Solaris compile
authorJens Axboe <jaxboe@fusionio.com>
Tue, 19 Jul 2011 14:27:43 +0000 (16:27 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Tue, 19 Jul 2011 14:27:43 +0000 (16:27 +0200)
In file included from fio.h:24,
                  from gettime.c:10:
os/os.h:192: error: redefinition of 'gettid'
os/os-solaris.h:123: error: previous definition of 'gettid' was here
make: *** [gettime.o] Error 1

Forgot to define FIO_HAVE_GETTID

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
os/os-solaris.h

index e1627d71f179ef3356d26e85000cf1f4e61eca8c..c0d3c30f82ba2e93b458d96bb1c5d9ef238eafd8 100644 (file)
@@ -19,6 +19,7 @@
 #define FIO_HAVE_FDATASYNC
 #define FIO_HAVE_CHARDEV_SIZE
 #define FIO_USE_GENERIC_BDEV_SIZE
+#define FIO_HAVE_GETTID
 
 #define OS_MAP_ANON            MAP_ANON
 #define OS_RAND_MAX            2147483648UL