]> granicus.if.org Git - graphviz/commitdiff
wrap demand loading symbols
authorellson <devnull@localhost>
Tue, 6 Jan 2009 16:08:43 +0000 (16:08 +0000)
committerellson <devnull@localhost>
Tue, 6 Jan 2009 16:08:43 +0000 (16:08 +0000)
lib/gvc/demand_loading.c
lib/gvc/no_demand_loading.c

index 0a54ea3a72d83b929811446275997abb3b8adacb..3a15b17c31bf73548053ff69279242c1acec55ac 100644 (file)
@@ -14,4 +14,8 @@
 *              AT&T Research, Florham Park NJ             *
 **********************************************************/
 
+#ifdef GVDLL
+__declspec(dllexport) int Demand_Loading = 1;
+#else
 const int Demand_Loading = 1;
+#endif
index 7490a02b88a4b6fd937966a3953e337be3244486..07dc659bd772f31b3d0a07ae13fc384cf85069d4 100644 (file)
@@ -14,4 +14,8 @@
 *              AT&T Research, Florham Park NJ             *
 **********************************************************/
 
+#ifdef GVDLL
+__declspec(dllexport) int Demand_Loading = 0;
+#else
 const int Demand_Loading = 0;
+#endif