aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-02-18 12:02:19 +0100
committerThomas White <taw@physics.org>2021-02-18 12:03:05 +0100
commitb644fcc7cfe58d39bb11dd2db009deccde1c0361 (patch)
treef5e0a5c60dd1e8474e9be6fee3814a26773e0ecc
parenta9584e4fd46cad8bb88d31629e9b9a31ce8e46f8 (diff)
Wrap space_group_for_mtz with HAVE_LIBCCP4
-rw-r--r--src/gui_export.c2
1 files changed, 2 insertions, 0 deletions
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,