]> granicus.if.org Git - graphviz/commitdiff
Fix no_builtins.c for Windows dlls
authorerg <devnull@localhost>
Fri, 8 Jun 2007 22:09:14 +0000 (22:09 +0000)
committererg <devnull@localhost>
Fri, 8 Jun 2007 22:09:14 +0000 (22:09 +0000)
lib/gvc/no_builtins.c

index ee422b98ca929caa948475f5f77a32e41b7f6031..5c89357de9609a4e5b6362149926ddc34ee6e2e4 100644 (file)
@@ -20,4 +20,8 @@
 
 #include "gvcext.h"
 
+#if defined(GVDLL) && !defined(ENABLE_LTDL)
+lt_symlist_t lt_preloaded_symbols[] = { { 0, 0 } };
+#else
 const lt_symlist_t lt_preloaded_symbols[] = { { 0, 0 } };
+#endif