From 62d82f38c811ce63d5b01dad97930c3f9ca02867 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Fri, 23 Dec 2022 17:17:22 +0100 Subject: Fix LibRaw 0.21.0 build --- fiv-thumbnail.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'fiv-thumbnail.c') diff --git a/fiv-thumbnail.c b/fiv-thumbnail.c index f95ed70..d0ec91a 100644 --- a/fiv-thumbnail.c +++ b/fiv-thumbnail.c @@ -33,6 +33,9 @@ #ifdef HAVE_LIBRAW #include +#if LIBRAW_VERSION >= LIBRAW_MAKE_VERSION(0, 21, 0) +#define LIBRAW_OPIONS_NO_MEMERR_CALLBACK 0 +#endif #endif // HAVE_LIBRAW // TODO(p): Consider merging back with fiv-io. -- cgit v1.2.3