From: erg Date: Tue, 17 Jul 2007 21:45:10 +0000 (+0000) Subject: Fix declaration of MemTest to work with dlls on Windows. X-Git-Tag: LAST_LIBGRAPH~32^2~5520 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6deead7d795996c5fe0f166ad35cbc6e060a3df8;p=graphviz Fix declaration of MemTest to work with dlls on Windows. --- diff --git a/cmd/dot/dot.c b/cmd/dot/dot.c index e79123c6a..4c17da1a6 100644 --- a/cmd/dot/dot.c +++ b/cmd/dot/dot.c @@ -24,7 +24,11 @@ #include "builddate.h" #include "gvc.h" +#ifdef GVDLL +__declspec(dllimport) boolean MemTest; +#else #include "globals.h" +#endif #include #ifdef HAVE_UNISTD_H