Fix LibRaw 0.21.0 build

This commit is contained in:
2022-12-23 17:17:22 +01:00
parent c063d93dc7
commit 62d82f38c8
2 changed files with 6 additions and 5 deletions

View File

@@ -33,6 +33,9 @@
#ifdef HAVE_LIBRAW
#include <libraw.h>
#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.