diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2022-12-23 17:03:50 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2022-12-23 17:04:15 +0100 |
commit | c063d93dc7037578a475ae559478bd302358472f (patch) | |
tree | 79e22505284a4deebef30c450c361292c06d43d2 | |
parent | 0317b88c879db481611027dc5d2a853fee632b1a (diff) | |
download | fiv-c063d93dc7037578a475ae559478bd302358472f.tar.gz fiv-c063d93dc7037578a475ae559478bd302358472f.tar.xz fiv-c063d93dc7037578a475ae559478bd302358472f.zip |
Fix LibRaw 0.21.0 build
-rw-r--r-- | fiv-io.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) { |