Merge pull request #2379 from ethomson/status_win32

Include windows.h on win32 for Sleep
This commit is contained in:
Vicent Marti 2014-05-22 02:26:56 +02:00
commit ff9fb4484b

View File

@ -14,9 +14,10 @@
#include "common.h"
#ifdef _WIN32
#define sleep(a) Sleep(a * 1000)
# include <Windows.h>
# define sleep(a) Sleep(a * 1000)
#else
#include <unistd.h>
# include <unistd.h>
#endif
/**