]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/preferences.cpp
damn macro is still there
[xonotic/netradiant.git] / radiant / preferences.cpp
index faff442e3510d4d6c5009c4f74af2a96e8dd1ff8..f44aca8a16e33ec3ad179de0536c676d00cfbabd 100644 (file)
@@ -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