Add FIO_PREFERRED_CLOCK_SOURCE to allow selection of clock source on a per-platform...
[fio.git] / os / os-windows.h
index 4af212d9d195a2a44e0f88bb7f9ce187bc14738c..8812cfa2e0d76943d398acc11e5b67787a7d9b50 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef FIO_OS_WINDOWS_H\r
 #define FIO_OS_WINDOWS_H\r
 \r
+#define FIO_OS os_windows\r
+\r
 #include <sys/types.h>\r
 #include <errno.h>\r
 #include <windows.h>\r
@@ -19,6 +21,9 @@
 #define FIO_HAVE_WINDOWSAIO\r
 #define FIO_HAVE_GETTID\r
 \r
+#define FIO_OS_HAVE_SOCKLEN_T\r
+typedef int fio_socklen_t;\r
+\r
 #define FIO_USE_GENERIC_RAND\r
 \r
 #define OS_MAP_ANON            MAP_ANON\r