From: glenlow Date: Mon, 25 May 2009 08:19:50 +0000 (+0000) Subject: Support building with Visual Studio 2005+; if plugin is missing a dependency, will... X-Git-Tag: LAST_LIBGRAPH~32^2~2023 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00945d055d968d2d489d3a9bece43df9b051ca77;p=graphviz Support building with Visual Studio 2005+; if plugin is missing a dependency, will continue to search for plugins --- diff --git a/lib/gvc/gvrender.c b/lib/gvc/gvrender.c index 97cb04f20..f25d89040 100644 --- a/lib/gvc/gvrender.c +++ b/lib/gvc/gvrender.c @@ -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; diff --git a/lib/gvc/gvusershape.c b/lib/gvc/gvusershape.c index df4fa7e43..3d9db1fb0 100644 --- a/lib/gvc/gvusershape.c +++ b/lib/gvc/gvusershape.c @@ -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;