Skip to content

Commit

Permalink
Ensure libvips version requirement
Browse files Browse the repository at this point in the history
Should improve debugging, e.g. #222
  • Loading branch information
lovell committed May 18, 2015
1 parent e553e92 commit 062c792
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/common.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,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
Expand Down

0 comments on commit 062c792

Please sign in to comment.