From 9acb6d27b2038906c1e04bc0a413cb9005185d38 Mon Sep 17 00:00:00 2001 From: Kraant Date: Mon, 1 Sep 2008 21:45:06 +0000 Subject: Added a few known issues to WinReadMe.txt. Also changed main.cpp to define usleep for the windows compile. --- src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 22d82f94..57eb67bb 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -40,6 +40,10 @@ #include #include #endif +#ifdef __MINGW32__ +#include +#define usleep(usec) (Sleep ((usec) / 1000), 0) +#endif #if defined __APPLE__ #include #endif -- cgit v1.2.3-70-g09d2