mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-02 10:11:05 -08:00
* image.c (PixelGetMagickColor): Declare if ImageMagick headers don't.
This commit is contained in:
parent
4b66faf3de
commit
60737f02aa
2 changed files with 10 additions and 0 deletions
|
|
@ -1,5 +1,7 @@
|
|||
2011-06-10 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* image.c (PixelGetMagickColor): Declare if ImageMagick headers don't.
|
||||
|
||||
Make identifiers static if they are not used in other modules.
|
||||
* data.c (Qcompiled_function, Qframe, Qvector):
|
||||
* image.c (QimageMagick, Qsvg):
|
||||
|
|
|
|||
|
|
@ -7456,6 +7456,14 @@ imagemagick_image_p (Lisp_Object object)
|
|||
#define DrawRectangle DrawRectangleGif
|
||||
#include <wand/MagickWand.h>
|
||||
|
||||
/* ImageMagick 6.5.3 through 6.6.5 hid PixelGetMagickColor for some reason.
|
||||
Emacs seems to work fine with the hidden version, so unhide it. */
|
||||
#include <magick/version.h>
|
||||
#if 0x653 <= MagickLibVersion && MagickLibVersion <= 0x665
|
||||
extern WandExport void PixelGetMagickColor (const PixelWand *,
|
||||
MagickPixelPacket *);
|
||||
#endif
|
||||
|
||||
/* Helper function for imagemagick_load, which does the actual loading
|
||||
given contents and size, apart from frame and image structures,
|
||||
passed from imagemagick_load. Uses librimagemagick to do most of
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue