]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/bkgrnd2d/dialog.cpp
Fixing Linux SCons build.
[xonotic/netradiant.git] / contrib / bkgrnd2d / dialog.cpp
index 2529bab609d39ed86a49c02d1a4d40f86bdceb80..7b8a2137144c8be9521cc9a3d3df50a15e89b8e6 100644 (file)
@@ -36,6 +36,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 // spaces to make label nice and big
 #define NO_FILE_MSG "        (no file loaded)        "
 
 // spaces to make label nice and big
 #define NO_FILE_MSG "        (no file loaded)        "
 
+#ifdef _WIN32
+  // TTimo: THIS IS UGLY
+#define snprintf _snprintf
+#endif
+
 static GtkWidget *pDialogWnd;
 static GtkWidget *pNotebook;
 static GtkTooltips *pTooltips;
 static GtkWidget *pDialogWnd;
 static GtkWidget *pNotebook;
 static GtkTooltips *pTooltips;