When enabling this plugin in the CMake build, the compiler complains:
…\plugin\visio\gvplugin_visio.c(30,69): error C2491:
'gvplugin_visio_LTX_library': definition of dllimport data not allowed
Gitlab: #1836
};
#ifdef GVDLL
-#ifndef GVPLUGIN_VISIO_EXPORTS
-__declspec(dllimport) gvplugin_library_t gvplugin_visio_LTX_library = { "visio", apis };
-#else
-__declspec(dllexport) gvplugin_library_t gvplugin_visio_LTX_library = { "visio", apis };
+__declspec(dllexport)
#endif
-#else
gvplugin_library_t gvplugin_visio_LTX_library = { "visio", apis };
-#endif