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>
diff --git a/os/os-freebsd.h b/os/os-freebsd.h
index 9fbc623..2a7b7b3 100644
--- a/os/os-freebsd.h
+++ b/os/os-freebsd.h
@@ -16,6 +16,7 @@
#define FIO_HAVE_ODIRECT
#define FIO_HAVE_STRSEP
#define FIO_USE_GENERIC_RAND
+#define FIO_USE_GENERIC_INIT_RANDOM_STATE
#define FIO_HAVE_CHARDEV_SIZE
#define FIO_HAVE_GETTID
#define FIO_HAVE_CLOCK_MONOTONIC