summaryrefslogtreecommitdiff
path: root/os/os-netbsd.h
diff options
context:
space:
mode:
authorBruce Cran <bruce@cran.org.uk>2012-02-20 20:18:19 +0100
committerJens Axboe <axboe@kernel.dk>2012-02-20 20:18:19 +0100
commit93bcfd20e37cef8cec350fe06d3a086724c9f257 (patch)
treefee8b2da5b190b0d4fd940f7cef5e58cd7faa113 /os/os-netbsd.h
parent16de1bf91ca80e62ce257a24cae471fab140bbe0 (diff)
downloadfio-93bcfd20e37cef8cec350fe06d3a086724c9f257.tar.gz
fio-93bcfd20e37cef8cec350fe06d3a086724c9f257.tar.bz2
Move Windows port to MinGW
- Add calls to WSAStartup in the network code as required by Winsock. - Add Windows-specific init_random_state function which uses the Crypto API. - Move Windows port to MinGW and update build system to create a 64-bit binary by default. - Install text files as .rtf so they won't open in Notepad by default (Wordpad understands Unix line endings; Notepad doesn't). - Simplify WiX installer code. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'os/os-netbsd.h')
-rw-r--r--os/os-netbsd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/os/os-netbsd.h b/os/os-netbsd.h
index 78ac135f..aef578e8 100644
--- a/os/os-netbsd.h
+++ b/os/os-netbsd.h
@@ -23,6 +23,7 @@
#define FIO_HAVE_FDATASYNC
#define FIO_USE_GENERIC_BDEV_SIZE
#define FIO_USE_GENERIC_RAND
+#define FIO_USE_GENERIC_INIT_RANDOM_STATE
#define FIO_HAVE_GETTID
#undef FIO_HAVE_CPU_AFFINITY /* XXX notyet */