aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/image-cbf.c
diff options
context:
space:
mode:
authorPhilipp Middendorf <philipp.middendorf@desy.de>2023-03-03 06:29:43 +0100
committerPhilipp Middendorf <philipp.middendorf@desy.de>2023-03-03 06:29:43 +0100
commit06d0d84c57f43738f8b9e2a7b453e2ab76cbb79c (patch)
tree1f8c5b70225d17b939cf85c6d807c84dd876ce9a /libcrystfel/src/image-cbf.c
parent33c5ed28e0fc3898e6c5f8cdb805ba57e5e7b84f (diff)
libcrystfel: don't use fmemopen on aarch64-darwin
Diffstat (limited to 'libcrystfel/src/image-cbf.c')
-rw-r--r--libcrystfel/src/image-cbf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/image-cbf.c b/libcrystfel/src/image-cbf.c
index b8f09a1f..f8a15c1b 100644
--- a/libcrystfel/src/image-cbf.c
+++ b/libcrystfel/src/image-cbf.c
@@ -287,7 +287,7 @@ static float *read_cbf_data(const char *filename, int gz, int *w, int *h)
} else {
- #ifdef HAVE_ZLIB
+ #if defined(HAVE_ZLIB) && !(defined(__aarch64__) && defined(__APPLE__))
gzFile gzfh;
int len_read;
size_t len;