Ensure libvips version requirement

Should improve debugging, e.g. #222
This commit is contained in:
Lovell Fuller 2015-05-18 16:35:50 +01:00
parent 64f7f1d662
commit c792a047b1

View File

@ -7,6 +7,10 @@
// Verify platform and compiler compatibility
#if (VIPS_MAJOR_VERSION < 7 || (VIPS_MAJOR_VERSION == 7 && VIPS_MINOR_VERSION < 40))
#error libvips version 7.40.0+ required - see https://github.com/lovell/sharp#prerequisites
#endif
#ifdef _WIN64
#error Windows 64-bit is currently unsupported - see https://github.com/lovell/sharp#windows
#endif