Go to the documentation of this file.
19 #ifndef _MAGICKCORE_CORE_H
20 #define _MAGICKCORE_CORE_H
22 #if defined(__cplusplus) || defined(c_plusplus)
26 #if !defined(_MAGICKCORE_CONFIG_H)
27 # define _MAGICKCORE_CONFIG_H
28 # if !defined(vms) && !defined(macintosh)
33 #if defined(_magickcore_const) && !defined(const)
34 # define const _magickcore_const
36 #if defined(_magickcore_inline) && !defined(inline)
37 # define inline _magickcore_inline
39 #if !defined(magick_restrict)
40 # if !defined(_magickcore_restrict)
41 # define magick_restrict restrict
43 # define magick_restrict _magickcore_restrict
46 # if defined(__cplusplus) || defined(c_plusplus)
51 #define MAGICKCORE_CHECK_VERSION(major,minor,micro) \
52 ((MAGICKCORE_MAJOR_VERSION > (major)) || \
53 ((MAGICKCORE_MAJOR_VERSION == (major)) && \
54 (MAGICKCORE_MINOR_VERSION > (minor))) || \
55 ((MAGICKCORE_MAJOR_VERSION == (major)) && \
56 (MAGICKCORE_MINOR_VERSION == (minor)) && \
57 (MAGICKCORE_MICRO_VERSION >= (micro))))
62 #include <sys/types.h>
65 #if defined(WIN32) || defined(WIN64)
66 # define MAGICKCORE_WINDOWS_SUPPORT
68 # define MAGICKCORE_POSIX_SUPPORT
73 #if defined(MAGICKCORE_NAMESPACE_PREFIX)
164 #if defined(__cplusplus) || defined(c_plusplus)