summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--riscos/menus.c4
-rw-r--r--riscos/save.c4
-rw-r--r--utils/config.h4
3 files changed, 0 insertions, 12 deletions
diff --git a/riscos/menus.c b/riscos/menus.c
index 12a8f4666..2a54dd948 100644
--- a/riscos/menus.c
+++ b/riscos/menus.c
@@ -181,9 +181,7 @@ void ro_gui_menu_init(void)
{ "Page.Save", BROWSER_SAVE, &dialog_saveas },
{ "Page.SaveComp", BROWSER_SAVE_COMPLETE, &dialog_saveas },
{ "Page.Export", NO_ACTION, 0 },
-#ifdef WITH_DRAW_EXPORT
{ "Page.Export.Draw", BROWSER_EXPORT_DRAW, &dialog_saveas },
-#endif
#ifdef WITH_PDF_EXPORT
{ "Page.Export.PDF", BROWSER_EXPORT_PDF, &dialog_saveas },
#endif
@@ -2041,11 +2039,9 @@ void ro_gui_menu_prepare_action(wimp_w owner, menu_action action,
break;
/* vector types (Draw export possible) */
-#ifdef WITH_DRAW_EXPORT
#if defined(WITH_NS_SVG) || defined(WITH_RSVG)
case CONTENT_SVG:
#endif
-#endif
#ifdef WITH_DRAW
case CONTENT_DRAW:
#endif
diff --git a/riscos/save.c b/riscos/save.c
index dc2cd2a93..668e00422 100644
--- a/riscos/save.c
+++ b/riscos/save.c
@@ -833,10 +833,8 @@ bool ro_gui_save_content(struct content *c, char *path, bool force_overwrite)
}
switch (gui_save_current_type) {
-#ifdef WITH_DRAW_EXPORT
case GUI_SAVE_DRAW:
return save_as_draw(c, path);
-#endif
#ifdef WITH_PDF_EXPORT
case GUI_SAVE_PDF:
return save_as_pdf(c, path);
@@ -1124,12 +1122,10 @@ bool ro_gui_save_object_native(struct content *c, char *path)
return true;
}
break;
-#ifdef WITH_DRAW_EXPORT
#if defined(WITH_NS_SVG) || defined(WITH_RSVG)
case CONTENT_SVG:
return save_as_draw(c, path);
#endif
-#endif
default:
return false;
}
diff --git a/utils/config.h b/utils/config.h
index e89bce1e5..f46423ad7 100644
--- a/utils/config.h
+++ b/utils/config.h
@@ -54,10 +54,6 @@ char *strndup(const char *s, size_t n);
/* We're likely to have a working mmap() */
#define WITH_MMAP
#endif
-#if defined(riscos) || defined(DEBUG_BUILD)
- /* Export modules */
- #define WITH_DRAW_EXPORT
-#endif
/* Configuration sanity checks: */
#if defined(WITH_NS_SVG) && defined(WITH_RSVG)