From: timo Date: Mon, 13 Dec 2010 05:37:08 +0000 (+0000) Subject: damn macro is still there X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c2478cff9eb2dec87e6d083fa46ca7c366880914;p=xonotic%2Fnetradiant.git damn macro is still there git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@347 8a3a26a2-13c4-0310-b231-cf6edde360e5 --- 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" > + +