summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/initfile.cc
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2009-10-12 06:26:57 -0700
committerSteven Noonan <steven@uplinklabs.net>2009-10-12 06:29:52 -0700
commit73caeb4198e8321a6de37934b1120779469cae89 (patch)
treeb84044a47f45ac9306c1cb33df8f0fef35f3cd30 /crawl-ref/source/initfile.cc
parent48a7ef0bd95493853b8481eccfda76c169d04381 (diff)
downloadcrawl-ref-73caeb4198e8321a6de37934b1120779469cae89.tar.gz
crawl-ref-73caeb4198e8321a6de37934b1120779469cae89.zip
project-wide: fix msvc compile breakage
MSVC is like a chimp with Down's syndrome. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/initfile.cc')
-rw-r--r--crawl-ref/source/initfile.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc
index cf175bc4db..2a796af899 100644
--- a/crawl-ref/source/initfile.cc
+++ b/crawl-ref/source/initfile.cc
@@ -9,16 +9,6 @@ REVISION("$Rev$");
#include "initfile.h"
-// For finding the executable's path
-#if defined ( WIN32CONSOLE ) || defined ( WIN32TILES )
-#define WIN32_LEAN_AND_MEAN
-#include <windows.h>
-#elif defined ( __linux__ )
-#include <unistd.h>
-#elif defined ( __MACH__ )
-extern char **NXArgv;
-#endif
-
#include <stdio.h>
#include <stdlib.h>
#include <string>
@@ -52,6 +42,16 @@ extern char **NXArgv;
#include "items.h"
#include "view.h"
+// For finding the executable's path
+#if defined ( WIN32CONSOLE ) || defined ( WIN32TILES )
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
+#elif defined ( __linux__ )
+#include <unistd.h>
+#elif defined ( __MACH__ )
+extern char **NXArgv;
+#endif
+
const std::string game_options::interrupt_prefix = "interrupt_";
game_options Options;