#include <stdlib.h>
#include "../smalloc.h"
+#include "../debug.h"
#include "../file.h"
#include "../log.h"
#include "../lib/hweight.h"
/* 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 */