]> granicus.if.org Git - graphviz/commitdiff
minor preprocessor changes for MinGW
authorglenlow <devnull@localhost>
Fri, 22 Feb 2008 14:21:43 +0000 (14:21 +0000)
committerglenlow <devnull@localhost>
Fri, 22 Feb 2008 14:21:43 +0000 (14:21 +0000)
plugin/core/gvrender_core_vml.c

index 230911e2c6d1cd599c6b16f8f5c438134b521b7e..1fa1db3abeadf52479e77e9fa2694e196c1f9719 100644 (file)
@@ -34,7 +34,7 @@ extern char *xml_string(char *str);
 
 char graphcoords[256];
 
-#ifdef WIN32
+#if defined(WIN32) && !defined(__MINGW32_VERSION)      /* MinGW already defines snprintf */
 static int
 snprintf (char *str, int n, char *fmt, ...)
 {