From 00945d055d968d2d489d3a9bece43df9b051ca77 Mon Sep 17 00:00:00 2001 From: glenlow Date: Mon, 25 May 2009 08:19:50 +0000 Subject: [PATCH] Support building with Visual Studio 2005+; if plugin is missing a dependency, will continue to search for plugins --- lib/gvc/gvrender.c | 4 ++++ lib/gvc/gvusershape.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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; -- 2.40.0