From ea1ff55ac332ec38068f63e71e5fa6187fa37a57 Mon Sep 17 00:00:00 2001 From: Oliver Schinagl Date: Tue, 27 May 2008 10:14:57 +0000 Subject: G_OS_WIN32 properly declared --- matchblox/main.cpp | 2 ++ matchblox/matchblox.vcproj | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/matchblox/main.cpp b/matchblox/main.cpp index 310df03..ce16470 100644 --- a/matchblox/main.cpp +++ b/matchblox/main.cpp @@ -1,9 +1,11 @@ #ifdef G_OS_WIN32 #define WIN32_LEAN_AND_MEAN 1 #include + #define sleep Sleep #else #define FALSE 0 #define TRUE !FALSE + #include #endif #include diff --git a/matchblox/matchblox.vcproj b/matchblox/matchblox.vcproj index c72b1f3..2c741d1 100644 --- a/matchblox/matchblox.vcproj +++ b/matchblox/matchblox.vcproj @@ -43,7 +43,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="include;common;menu;engine;lib" - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;USE_WIIYOURSELF" + PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;USE_WIIYOURSELF;G_OS_WIN32" MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="3" @@ -122,7 +122,7 @@