summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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