Add support for libvips v8.0.0

This commit is contained in:
Lovell Fuller
2015-02-16 13:27:22 +00:00
parent 5194b37460
commit f89e9d726d
3 changed files with 6 additions and 6 deletions

View File

@@ -86,7 +86,7 @@ namespace sharp {
vips_webpload_buffer(buffer, length, &image, "access", access, NULL);
} else if (imageType == ImageType::TIFF) {
vips_tiffload_buffer(buffer, length, &image, "access", access, NULL);
#if (VIPS_MAJOR_VERSION >= 8 && VIPS_MINOR_VERSION >= 0)
#if (VIPS_MAJOR_VERSION >= 8)
} else if (imageType == ImageType::MAGICK) {
vips_magickload_buffer(buffer, length, &image, "access", access, NULL);
#endif