mirror of
https://github.com/Imagick/imagick.git
synced 2026-06-19 07:35:36 +00:00
Correct version checking for MagickCannyEdgeImage, which is the API function name, not the internal name,
This commit is contained in:
@@ -34,13 +34,10 @@
|
||||
#endif
|
||||
|
||||
|
||||
#if MagickLibVersion >= 0x700
|
||||
#if MagickLibVersion >= 0x709
|
||||
#define IM_HAVE_IMAGICK_CANNYEDGEIMAGE 1
|
||||
#endif
|
||||
#elif MagickLibVersion >= 0x690
|
||||
// This may actually be available from 6.8.10, but both versions are ancient
|
||||
#define IM_HAVE_IMAGICK_CANNYEDGEIMAGE 1
|
||||
// Although there is some 'cannyEdgeImage' code in ImageMagick 6,
|
||||
// there is no 'MagickCannyEdgeImage' exported function in the API.
|
||||
#if MagickLibVersion >= 0x709
|
||||
#define IM_HAVE_IMAGICK_CANNYEDGEIMAGE 1
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user