c7e6337bd0
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
13 lines
423 B
Diff
13 lines
423 B
Diff
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;
|