# endif
#endif
+#define MAGICKCORE_CHECK_VERSION(major,minor,micro) \
+ ((MAGICKCORE_MAJOR_VERSION > (major)) || \
+ ((MAGICKCORE_MAJOR_VERSION == (major)) && \
+ (MAGICKCORE_MINOR_VERSION > (minor))) || \
+ ((MAGICKCORE_MAJOR_VERSION == (major)) && \
+ (MAGICKCORE_MINOR_VERSION == (minor)) && \
+ (MAGICKCORE_MICRO_VERSION >= (micro))))
+
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
# endif
#endif
+#define MAGICKWAND_CHECK_VERSION(major,minor,micro) \
+ ((MAGICKWAND_MAJOR_VERSION > (major)) || \
+ ((MAGICKWAND_MAJOR_VERSION == (major)) && \
+ (MAGICKWAND_MINOR_VERSION > (minor))) || \
+ ((MAGICKWAND_MAJOR_VERSION == (major)) && \
+ (MAGICKWAND_MINOR_VERSION == (minor)) && \
+ (MAGICKWAND_MICRO_VERSION >= (micro))))
+
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <sys/types.h>
#if defined(WIN32) || defined(WIN64)
-# define MAGICKCORE_WINDOWS_SUPPORT
+# define MAGICKWAND_WINDOWS_SUPPORT
#else
-# define MAGICKCORE_POSIX_SUPPORT
+# define MAGICKWAND_POSIX_SUPPORT
#endif
#if defined(__BORLANDC__) && defined(_DLL)
#include "MagickWand/method-attribute.h"
-#if defined(MAGICKCORE_WINDOWS_SUPPORT) && !defined(__CYGWIN__)
+#if defined(MAGICKWAND_WINDOWS_SUPPORT) && !defined(__CYGWIN__)
# define WandPrivate
# if defined(_MT) && defined(_DLL) && !defined(_MAGICKDLL_) && !defined(_LIB)
# define _MAGICKDLL_
(void) CopyMagickString(version,"XML " LIBXML_DOTTED_VERSION,MaxTextExtent);
#endif
#if defined(MAGICKCORE_RSVG_DELEGATE)
+#if !GLIB_CHECK_VERSION(2,5,0)
g_type_init();
+#endif
(void) FormatLocaleString(version,MaxTextExtent,"RSVG %d.%d.%d",
LIBRSVG_MAJOR_VERSION,LIBRSVG_MINOR_VERSION,LIBRSVG_MICRO_VERSION);
#endif