From: TTimo Date: Mon, 13 Dec 2010 05:37:08 +0000 (+0000) Subject: damn macro is still there X-Git-Tag: xonotic-v0.7.0~16^2~12^2~45 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=09337b89929d4ee67f0bbe680bb06ac199a6f231;p=xonotic%2Fnetradiant.git damn macro is still there git-svn-id: svn://svn.icculus.org/gtkradiant/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" > + +