From c2478cff9eb2dec87e6d083fa46ca7c366880914 Mon Sep 17 00:00:00 2001 From: timo Date: Mon, 13 Dec 2010 05:37:08 +0000 Subject: [PATCH] damn macro is still there git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@347 8a3a26a2-13c4-0310-b231-cf6edde360e5 --- radiant/preferences.cpp | 5 +---- radiant/radiant_VC9.vcproj | 16 ++++++++-------- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/radiant/preferences.cpp b/radiant/preferences.cpp index faff442e..f44aca8a 100644 --- a/radiant/preferences.cpp +++ b/radiant/preferences.cpp @@ -40,10 +40,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include "gtkmisc.h" #ifdef _WIN32 - // sanity check - some gtk2 win32 runtimes replace sprintf - #if defined( sprintf ) - #error sprintf is a macro. are you sure? - #endif +#undef fprintf #endif #ifdef _WIN32 diff --git a/radiant/radiant_VC9.vcproj b/radiant/radiant_VC9.vcproj index e562107c..a74076ea 100755 --- a/radiant/radiant_VC9.vcproj +++ b/radiant/radiant_VC9.vcproj @@ -62,7 +62,7 @@ - - @@ -2428,6 +2424,10 @@ RelativePath="..\..\src\gtk+\gdk\win32\makefile.msc" > + +