]> granicus.if.org Git - graphviz/commitdiff
Disabled JSON in gvplugin_core for Windows.
authorErwin Janssen <erwinjanssen@outlook.com>
Tue, 21 Jun 2016 23:31:08 +0000 (01:31 +0200)
committerErwin Janssen <erwinjanssen@outlook.com>
Tue, 21 Jun 2016 23:31:08 +0000 (01:31 +0200)
plugin/core/gvplugin_core.c

index 8dc7e65726f40d4ab9d831abe5ddaf0a15863e50..8ffd619962fd8ca479aa2b3b523dcab1385b22e0 100644 (file)
@@ -18,7 +18,9 @@ extern gvplugin_installed_t gvdevice_fig_types[];
 extern gvplugin_installed_t gvdevice_map_types[];
 extern gvplugin_installed_t gvdevice_ps_types[];
 extern gvplugin_installed_t gvdevice_svg_types[];
+#if !defined(WIN32)
 extern gvplugin_installed_t gvdevice_json_types[];
+#endif
 extern gvplugin_installed_t gvdevice_tk_types[];
 extern gvplugin_installed_t gvdevice_vml_types[];
 extern gvplugin_installed_t gvdevice_pic_types[];
@@ -29,7 +31,9 @@ extern gvplugin_installed_t gvrender_fig_types[];
 extern gvplugin_installed_t gvrender_map_types[];
 extern gvplugin_installed_t gvrender_ps_types[];
 extern gvplugin_installed_t gvrender_svg_types[];
+#if !defined(WIN32)
 extern gvplugin_installed_t gvrender_json_types[];
+#endif
 extern gvplugin_installed_t gvrender_tk_types[];
 extern gvplugin_installed_t gvrender_vml_types[];
 extern gvplugin_installed_t gvrender_pic_types[];
@@ -46,7 +50,9 @@ static gvplugin_api_t apis[] = {
     {API_device, gvdevice_map_types},
     {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},
@@ -57,7 +63,9 @@ static gvplugin_api_t apis[] = {
     {API_render, gvrender_map_types},
     {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},