diff options
author | Kraant <kraant@gmail.com> | 2008-09-01 21:45:06 +0000 |
---|---|---|
committer | Kraant <kraant@gmail.com> | 2008-09-01 21:45:06 +0000 |
commit | 9acb6d27b2038906c1e04bc0a413cb9005185d38 (patch) | |
tree | 23b83396f5c43a82ab621c061e55302ce4ec4df4 /src/main.cpp | |
parent | 27344eda61e59196f57299415b997ddd96933468 (diff) | |
download | mana-9acb6d27b2038906c1e04bc0a413cb9005185d38.tar.gz mana-9acb6d27b2038906c1e04bc0a413cb9005185d38.tar.bz2 mana-9acb6d27b2038906c1e04bc0a413cb9005185d38.tar.xz mana-9acb6d27b2038906c1e04bc0a413cb9005185d38.zip |
Added a few known issues to WinReadMe.txt.
Also changed main.cpp to define usleep for the windows
compile.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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 <cerrno> #include <sys/stat.h> #endif +#ifdef __MINGW32__ +#include <windows.h> +#define usleep(usec) (Sleep ((usec) / 1000), 0) +#endif #if defined __APPLE__ #include <CoreFoundation/CFBundle.h> #endif |