]> granicus.if.org Git - graphviz/commitdiff
Support building with Visual Studio 2005+; if plugin is missing a dependency, will...
authorglenlow <devnull@localhost>
Mon, 25 May 2009 08:19:50 +0000 (08:19 +0000)
committerglenlow <devnull@localhost>
Mon, 25 May 2009 08:19:50 +0000 (08:19 +0000)
lib/gvc/gvrender.c
lib/gvc/gvusershape.c

index 97cb04f207949c9db2cdbed18a1965ff5eeb22bc..f25d8904025c653f79574efc1632a51fbb7ea23f 100644 (file)
@@ -44,6 +44,10 @@ extern int emit_once(char *str);
 extern shape_desc *find_user_shape(char *name);
 extern boolean mapbool(char *s);
 
+#ifndef HAVE_STRCASECMP
+extern int strcasecmp(const char *s1, const char *s2);
+#endif
+
 /* storage for temporary hacks until client API is FP */
 static pointf *AF;
 static int sizeAF;
index df4fa7e430f9321eeb204fac02e346028000387d..3d9db1fb016f9f78656ff29de036ab1a641fd4c0 100644 (file)
@@ -32,7 +32,7 @@
 #include "gvplugin_loadimage.h"
 
 
-extern shape_desc *find_user_shape(char *);
+extern shape_desc *find_user_shape(const char *);
 
 static Dict_t *ImageDict;