summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKraant <kraant@gmail.com>2008-09-01 21:45:06 +0000
committerKraant <kraant@gmail.com>2008-09-01 21:45:06 +0000
commit9acb6d27b2038906c1e04bc0a413cb9005185d38 (patch)
tree23b83396f5c43a82ab621c061e55302ce4ec4df4
parent27344eda61e59196f57299415b997ddd96933468 (diff)
downloadmana-client-9acb6d27b2038906c1e04bc0a413cb9005185d38.tar.gz
mana-client-9acb6d27b2038906c1e04bc0a413cb9005185d38.tar.bz2
mana-client-9acb6d27b2038906c1e04bc0a413cb9005185d38.tar.xz
mana-client-9acb6d27b2038906c1e04bc0a413cb9005185d38.zip
Added a few known issues to WinReadMe.txt.
Also changed main.cpp to define usleep for the windows compile.
-rw-r--r--WinReadMe.txt9
-rw-r--r--src/main.cpp4
2 files changed, 13 insertions, 0 deletions
diff --git a/WinReadMe.txt b/WinReadMe.txt
index 8e72f036..17870e03 100644
--- a/WinReadMe.txt
+++ b/WinReadMe.txt
@@ -1,5 +1,14 @@
To run aethyra double click on aethyra.exe in this folder.
+There are a couple of known bugs you might run into first run...
+
+aethyra.exe might complain about not being able to create it's
+configuration folder. If it crashes out just run it again.
+
+You may also have issues with the aethyra crashing with lots of
+updates. Again just run it again and it should continue the update
+from where it left off.
+
To install the client, just copy this folder to your Program Files
folder and add a shortcut to aethyra.exe to your Start Menu.
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