]> granicus.if.org Git - graphviz/commitdiff
Fix declaration of MemTest to work with dlls on Windows.
authorerg <devnull@localhost>
Tue, 17 Jul 2007 21:45:10 +0000 (21:45 +0000)
committererg <devnull@localhost>
Tue, 17 Jul 2007 21:45:10 +0000 (21:45 +0000)
cmd/dot/dot.c

index e79123c6a27d57f688fc79cfe616d69e64e8792c..4c17da1a6c06ef8d344fdcb357bf804827cdf13a 100644 (file)
 
 #include "builddate.h"
 #include "gvc.h"
+#ifdef GVDLL
+__declspec(dllimport) boolean MemTest;
+#else
 #include "globals.h"
+#endif
 
 #include <time.h>
 #ifdef HAVE_UNISTD_H