--- psiconv/trunk/program/psiconv/magick-aux.h 2004/04/29 22:05:23 252 +++ psiconv/trunk/program/psiconv/magick-aux.h 2014/10/20 11:44:17 343 @@ -1,6 +1,6 @@ /* magick-aux.h - Part of psiconv, a PSION 5 file formats converter - Copyright (c) 2000-2004 Frodo Looijaard + Copyright (c) 2000-2004 Frodo Looijaard This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -21,18 +21,25 @@ #if IMAGEMAGICK -#if IMAGEMAGICK_OLD +#if IMAGEMAGICK_API == 1 #include -extern const MagickInfo * GetMagickFileList(void); - #else #include +#include #include #include -#endif /* IMAGEMAGICK_OLD */ +#endif /* IMAGEMAGICK_API == 1 */ + +#if IMAGEMAGICK_API == 100 + +#define DestroyImages DestroyImageList + +#endif + +extern const MagickInfo ** GetMagickFileList(void); #endif /* IMAGEMAGICK */