Fix LibRaw 0.21.0 build
This commit is contained in:
parent
0317b88c87
commit
c063d93dc7
5
fiv-io.c
5
fiv-io.c
|
@ -1697,6 +1697,11 @@ fail:
|
|||
|
||||
#ifdef HAVE_LIBRAW // ---------------------------------------------------------
|
||||
|
||||
// LibRaw 0.21.0 compatibility.
|
||||
#ifndef LIBRAW_OPIONS_NO_MEMERR_CALLBACK
|
||||
#define LIBRAW_OPIONS_NO_MEMERR_CALLBACK 0
|
||||
#endif
|
||||
|
||||
static cairo_surface_t *
|
||||
open_libraw(const char *data, gsize len, GError **error)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue