]> granicus.if.org Git - graphviz/commitdiff
Fix include files so that imports for DLL has to be turned on explicitly.
authorerg <devnull@localhost>
Fri, 11 May 2007 17:06:35 +0000 (17:06 +0000)
committererg <devnull@localhost>
Fri, 11 May 2007 17:06:35 +0000 (17:06 +0000)
lib/agraph/agraph.h

index de4802052cdb680c757a20371a7645938c02fc09..36843ef72e4bbbdaad35f3d2ffd0ff015e511ef4 100644 (file)
@@ -398,7 +398,7 @@ for the name. */
 #      define extern  __IMPORT__
 #   endif
 #endif
-#if !defined(_BLD_agraph) && defined(_WIN32)
+#if !defined(_BLD_agraph) && defined(GVDLL)
 #define extern __declspec(dllimport)
 #endif