From a740f7989ccd058e3f09298194e3eb3a9d50af40 Mon Sep 17 00:00:00 2001 From: alexvins Date: Sun, 5 Jan 2014 17:48:50 +0000 Subject: [PATCH] [c::b] update projects, disable PHC for now, +few fixes (still wip) --- AI/BattleAI/BattleAI.cbp | 1 - AI/EmptyAI/EmptyAI.cbp | 1 - AI/StupidAI/StupidAI.cbp | 1 - AI/VCAI/VCAI.cbp | 1 - client/CMT.cpp | 2 +- client/VCMI_client.cbp | 1 - lib/VCMI_lib.cbp | 5 +++-- lib/minizip/minizip.cbp | 4 ++-- server/CVCMIServer.cpp | 6 +++--- server/VCMI_server.cbp | 1 - vcmi.workspace | 4 +++- 11 files changed, 12 insertions(+), 15 deletions(-) diff --git a/AI/BattleAI/BattleAI.cbp b/AI/BattleAI/BattleAI.cbp index 8510873b4..aa247ac04 100644 --- a/AI/BattleAI/BattleAI.cbp +++ b/AI/BattleAI/BattleAI.cbp @@ -50,7 +50,6 @@ - diff --git a/AI/EmptyAI/EmptyAI.cbp b/AI/EmptyAI/EmptyAI.cbp index b506aa93b..cef39e1be 100644 --- a/AI/EmptyAI/EmptyAI.cbp +++ b/AI/EmptyAI/EmptyAI.cbp @@ -51,7 +51,6 @@ - diff --git a/AI/StupidAI/StupidAI.cbp b/AI/StupidAI/StupidAI.cbp index 51112af8b..43ed9465e 100644 --- a/AI/StupidAI/StupidAI.cbp +++ b/AI/StupidAI/StupidAI.cbp @@ -51,7 +51,6 @@ - diff --git a/AI/VCAI/VCAI.cbp b/AI/VCAI/VCAI.cbp index ca9bafe69..8496fd4f1 100644 --- a/AI/VCAI/VCAI.cbp +++ b/AI/VCAI/VCAI.cbp @@ -60,7 +60,6 @@ - diff --git a/client/CMT.cpp b/client/CMT.cpp index f37a07c4a..380d7248f 100644 --- a/client/CMT.cpp +++ b/client/CMT.cpp @@ -193,7 +193,7 @@ static void prog_help(const po::options_description &opts) void OSX_checkForUpdates(); #endif -#ifdef _WIN32 +#if defined(_WIN32) && !defined (__GNUC__) int wmain(int argc, wchar_t* argv[]) #elif defined(__APPLE__) int SDL_main(int argc, char *argv[]) diff --git a/client/VCMI_client.cbp b/client/VCMI_client.cbp index 7a2a48c9a..f9d13b365 100644 --- a/client/VCMI_client.cbp +++ b/client/VCMI_client.cbp @@ -116,7 +116,6 @@ - diff --git a/lib/VCMI_lib.cbp b/lib/VCMI_lib.cbp index 9b42313ee..91cc820d4 100644 --- a/lib/VCMI_lib.cbp +++ b/lib/VCMI_lib.cbp @@ -46,6 +46,7 @@ + @@ -62,8 +63,10 @@ + + @@ -143,7 +146,6 @@ - @@ -169,7 +171,6 @@ - diff --git a/lib/minizip/minizip.cbp b/lib/minizip/minizip.cbp index 8161e1ee1..81c6c8769 100644 --- a/lib/minizip/minizip.cbp +++ b/lib/minizip/minizip.cbp @@ -7,6 +7,7 @@