Fix LibRaw 0.20 compatibility

This commit is contained in:
2024-03-28 16:03:20 +01:00
parent d68e09525c
commit 7330f07dd7
2 changed files with 3 additions and 1 deletions

View File

@@ -42,6 +42,8 @@
#include <libraw.h>
#if LIBRAW_VERSION >= LIBRAW_MAKE_VERSION(0, 21, 0)
#define LIBRAW_OPIONS_NO_MEMERR_CALLBACK 0
#else
#define rawparams params
#endif
#endif // HAVE_LIBRAW
#ifdef HAVE_RESVG