From 80c240b54ae85a9c5e4c6ef079e2acd7edfb89f2 Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Mon, 2 Oct 2017 19:03:51 +0100 Subject: [PATCH] Add compile time check for libvips 8.6.0+ --- src/common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common.h b/src/common.h index 81946d10..96a577d4 100644 --- a/src/common.h +++ b/src/common.h @@ -25,8 +25,8 @@ // Verify platform and compiler compatibility -#if (VIPS_MAJOR_VERSION < 8 || (VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION < 5)) -#error libvips version 8.5.x required - see sharp.dimens.io/page/install +#if (VIPS_MAJOR_VERSION < 8 || (VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION < 6)) +#error libvips version 8.6.x required - see sharp.dimens.io/page/install #endif #if ((!defined(__clang__)) && defined(__GNUC__) && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6)))