]> granicus.if.org Git - graphviz/commitdiff
Enable features in plugin/core on Windows
authorErwin Janssen <erwinjanssen@outlook.com>
Sat, 18 Mar 2017 21:37:16 +0000 (22:37 +0100)
committerErwin Janssen <erwinjanssen@outlook.com>
Fri, 24 Mar 2017 10:30:12 +0000 (11:30 +0100)
Remove the `#ifdef` blocks surrounding some function prototypes and add
`gvrender_core_mp.c` to the Visual Studio build.

plugin/core/gvplugin_core.c
plugin/core/gvplugin_core.vcxproj
plugin/core/gvplugin_core.vcxproj.filters

index 116758336cf14fbc82bcb1aaa6e9fe003b355256..a6329017a344018ef6b2570658f87d3ba08704ba 100644 (file)
@@ -46,14 +46,10 @@ static gvplugin_api_t apis[] = {
     {API_device, gvdevice_dot_types},
     {API_device, gvdevice_fig_types},
     {API_device, gvdevice_map_types},
-#if !defined(_WIN32)
     {API_device, gvdevice_mp_types},
-#endif
     {API_device, gvdevice_ps_types},
     {API_device, gvdevice_svg_types},
-#if !defined(_WIN32)
     {API_device, gvdevice_json_types},
-#endif
     {API_device, gvdevice_tk_types},
     {API_device, gvdevice_vml_types},
     {API_device, gvdevice_pic_types},
@@ -62,14 +58,10 @@ static gvplugin_api_t apis[] = {
     {API_render, gvrender_dot_types},
     {API_render, gvrender_fig_types},
     {API_render, gvrender_map_types},
-#if !defined(_WIN32)
     {API_render, gvrender_mp_types},
-#endif
     {API_render, gvrender_ps_types},
     {API_render, gvrender_svg_types},
-#if !defined(_WIN32)
     {API_render, gvrender_json_types},
-#endif
     {API_render, gvrender_tk_types},
     {API_render, gvrender_vml_types},
     {API_render, gvrender_pic_types},
index ee323d0a949bd6841858ae93abc2242924f789b0..5b73f7857ac0f75d2534b8f724d4686d3541c946 100644 (file)
     <ClCompile Include="gvrender_core_fig.c" />
     <ClCompile Include="gvrender_core_json.c" />
     <ClCompile Include="gvrender_core_map.c" />
+    <ClCompile Include="gvrender_core_mp.c" />
     <ClCompile Include="gvrender_core_pic.c" />
     <ClCompile Include="gvrender_core_pov.c" />
     <ClCompile Include="gvrender_core_ps.c" />
index 36f6dc87b85a3c996cddabbf732294509f14efd9..8b107b03f75b2bb195a2598180b87ba190bb4717 100644 (file)
@@ -56,6 +56,9 @@
     <ClCompile Include="gvrender_core_json.c">
       <Filter>Source Files</Filter>
     </ClCompile>
+    <ClCompile Include="gvrender_core_mp.c">
+      <Filter>Source Files</Filter>
+    </ClCompile>
   </ItemGroup>
   <ItemGroup>
     <None Include="gvplugin_core.def">