#include <gvc/gvplugin.h>
#if defined(GVDLL) && !defined(ENABLE_LTDL)
-#define extern __declspec(dllimport)
+#define IMPORT __declspec(dllimport)
+#else
+#define IMPORT /* nothing */
#endif
-extern gvplugin_library_t gvplugin_dot_layout_LTX_library;
-extern gvplugin_library_t gvplugin_neato_layout_LTX_library;
+IMPORT extern gvplugin_library_t gvplugin_dot_layout_LTX_library;
+IMPORT extern gvplugin_library_t gvplugin_neato_layout_LTX_library;
#ifdef HAVE_LIBGD
-extern gvplugin_library_t gvplugin_gd_LTX_library;
+IMPORT extern gvplugin_library_t gvplugin_gd_LTX_library;
#endif
#ifdef HAVE_PANGOCAIRO
-extern gvplugin_library_t gvplugin_pango_LTX_library;
+IMPORT extern gvplugin_library_t gvplugin_pango_LTX_library;
#endif
-extern gvplugin_library_t gvplugin_core_LTX_library;
+IMPORT extern gvplugin_library_t gvplugin_core_LTX_library;
lt_symlist_t lt_preloaded_symbols[] = {