changes required for MS visual studio DLL build
authorarif <devnull@localhost>
Wed, 21 Jan 2009 16:47:00 +0000 (16:47 +0000)
committerarif <devnull@localhost>
Wed, 21 Jan 2009 16:47:00 +0000 (16:47 +0000)
cmd/dot/dot.c

index 0c32f3dbb93bd910bb32a42203f590e3758770d8..7d1c1228bd706532f079a9164eff8a33155df683 100644 (file)
 
 #include "builddate.h"
 #include "gvc.h"
+
+#ifndef WIN32_DLL
 #ifdef GVDLL
 __declspec(dllimport) boolean MemTest;
 #else
 #include "globals.h"
 #endif
+#endif
+
+#ifdef WIN32_DLL
+__declspec(dllimport) boolean MemTest;
+#endif
 
 #include <time.h>
 #ifdef HAVE_UNISTD_H