From b1227f526d077afe7f4865ff0f15bccbd22d108a Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Sun, 23 Aug 2020 20:10:27 +0100 Subject: [PATCH] Verify minimum libvips version at compile time --- src/common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common.h b/src/common.h index 0822cad5..bd2c46aa 100644 --- a/src/common.h +++ b/src/common.h @@ -24,8 +24,8 @@ // Verify platform and compiler compatibility -#if (VIPS_MAJOR_VERSION < 8 || (VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION < 9)) -#error "libvips version 8.9.2+ is required - please see https://sharp.pixelplumbing.com/install" +#if (VIPS_MAJOR_VERSION < 8 || (VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION < 10)) +#error "libvips version 8.10.0+ is required - please see https://sharp.pixelplumbing.com/install" #endif #if ((!defined(__clang__)) && defined(__GNUC__) && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6)))