From f5ef3157e2dc18efd1071cc63102b861d873337e Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Tue, 11 Jan 2011 22:16:47 +0000 Subject: [PATCH] - compiler fix for win32 build --- source/shared_lib/sources/util/conversion.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/shared_lib/sources/util/conversion.cpp b/source/shared_lib/sources/util/conversion.cpp index bd3c88f8..ebca5c00 100644 --- a/source/shared_lib/sources/util/conversion.cpp +++ b/source/shared_lib/sources/util/conversion.cpp @@ -17,6 +17,10 @@ #include "leak_dumper.h" +#ifdef WIN32 +#define snprintf _snprintf +#endif + using namespace std; namespace Shared{ namespace Util{