From 20a02c28ed4de83b643d0848bb12d3003bb77436 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Fri, 27 Aug 2010 23:04:59 +0000 Subject: [PATCH] - bigfix for windows compile --- source/glest_game/network/client_interface.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/glest_game/network/client_interface.cpp b/source/glest_game/network/client_interface.cpp index 61f5354bf..497d8f671 100755 --- a/source/glest_game/network/client_interface.cpp +++ b/source/glest_game/network/client_interface.cpp @@ -29,6 +29,12 @@ using namespace std; using namespace Shared::Platform; using namespace Shared::Util; +#ifdef WIN32 + +#define snprintf _snprintf + +#endif + namespace Glest{ namespace Game{ // =====================================================