Revert "fix build with IM disabled"

This reverts commit 88b3aa8f2b.
This commit is contained in:
John Cupitt 2019-08-11 12:31:39 +01:00
parent 88b3aa8f2b
commit 4dbf2167d0
1 changed files with 1 additions and 5 deletions

View File

@ -48,8 +48,6 @@
#include "pforeign.h"
#include "magick.h"
#if defined(HAVE_MAGICK6) || defined(HAVE_MAGICK7)
/* ImageMagick can't detect some formats, like ICO, by examining the contents --
* ico.c simply does not have a recogniser.
*
@ -90,8 +88,6 @@ magick_sniff_file( ImageInfo *image_info, const char *filename )
magick_sniff_bytes( image_info, bytes, 256 );
}
#endif /*defined(HAVE_MAGICK6) || defined(HAVE_MAGICK7)*/
#ifdef HAVE_MAGICK7
Image *
@ -751,4 +747,4 @@ magick_set_magick_profile( Image *image,
return( 0 );
}
#endif /*defined(HAVE_MAGICK6) || defined(HAVE_MAGICK7)*/
#endif /*HAVE_MAGICK*/