#include <stdlib.h>
#include "../smalloc.h"
+#include "../debug.h"
#include "../file.h"
#include "../log.h"
#include "../lib/hweight.h"
#define FIO_HAVE_CPU_AFFINITY
#define FIO_HAVE_CHARDEV_SIZE
#define FIO_HAVE_GETTID
-#define FIO_USE_GENERIC_RAND
#define FIO_PREFERRED_ENGINE "windowsaio"
#define FIO_PREFERRED_CLOCK_SOURCE CS_CGETTIME
/* Winsock doesn't support MSG_WAIT */
#define OS_MSG_DONTWAIT 0
+#ifndef S_ISSOCK
+#define S_ISSOCK(x) 0
+#endif
+
#define SIGCONT 0
#define SIGUSR1 1
#define SIGUSR2 2
return (SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_IDLE))? 0 : -1;
}
+#ifdef CONFIG_WINDOWS_XP
#include "os-windows-xp.h"
+#else
+#include "os-windows-7.h"
+#endif
#endif /* FIO_OS_WINDOWS_H */