Commit 2b583ab7 authored by Kenton Varda's avatar Kenton Varda

Fix Windows build.

parent 1446ede2
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#if _WIN32 #if _WIN32
#define WIN32_LEAN_AND_MEAN 1 // lolz #define WIN32_LEAN_AND_MEAN 1 // lolz
#include <windows.h> #include <windows.h>
#include "windows-sanity.h"
inline void delay() { Sleep(10); } inline void delay() { Sleep(10); }
#else #else
#include <unistd.h> #include <unistd.h>
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#if _WIN32 #if _WIN32
#include <windows.h> // just for Sleep(0) #include <windows.h> // just for Sleep(0)
#include "windows-sanity.h"
#else #else
#include <sched.h> // just for sched_yield() #include <sched.h> // just for sched_yield()
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment