From b644fcc7cfe58d39bb11dd2db009deccde1c0361 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 18 Feb 2021 12:02:19 +0100 Subject: Wrap space_group_for_mtz with HAVE_LIBCCP4 --- src/gui_export.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/gui_export.c b/src/gui_export.c index b79d7518..c3499827 100644 --- a/src/gui_export.c +++ b/src/gui_export.c @@ -267,6 +267,7 @@ static int space_group_for_xds(const char *sym_str, char cen) } +#ifdef HAVE_LIBCCP4 static const char *space_group_for_mtz(const char *sym_str, char cen) { int i = 0; @@ -282,6 +283,7 @@ static const char *space_group_for_mtz(const char *sym_str, char cen) ERROR("Couldn't derive CCP4 representation of symmetry.\n"); return NULL; } +#endif static int export_to_xds(struct gui_merge_result *result, -- cgit v1.2.3