windows: target Windows 7 and add support for more than 64 CPUs
[fio.git] / os / os-windows.h
index ddb752800191d77f679e53bfa641a56a3a214b6e..01f555e1b6fc3be5e99389365edeb65c4bc02008 100644 (file)
@@ -13,6 +13,7 @@
 #include <stdlib.h>
 
 #include "../smalloc.h"
+#include "../debug.h"
 #include "../file.h"
 #include "../log.h"
 #include "../lib/hweight.h"
@@ -191,6 +192,10 @@ static inline int fio_set_sched_idle(void)
        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 */