diff options
| author | Mike Wey | 2011-10-19 22:51:16 +0200 |
|---|---|---|
| committer | Mike Wey | 2011-10-19 22:51:16 +0200 |
| commit | 3b0b0d09697023b185bb8a07511ab88954dd99ee (patch) | |
| tree | f4f15cd8b8f785e75dba61d12cd87081b163098b /dmagick/c/magickVersion.d | |
| parent | aee3a1a5cec87840c35516debb399ce3d2ab6598 (diff) | |
Add support for imageMagick 6.6.2 to the headers.
Diffstat (limited to 'dmagick/c/magickVersion.d')
| -rw-r--r-- | dmagick/c/magickVersion.d | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dmagick/c/magickVersion.d b/dmagick/c/magickVersion.d index 34bf80b..f9ea9f2 100644 --- a/dmagick/c/magickVersion.d +++ b/dmagick/c/magickVersion.d @@ -1,5 +1,7 @@ module dmagick.c.magickVersion; +import core.stdc.config; + extern(C) { version(MagickCore_663) @@ -80,6 +82,15 @@ extern(C) enum MagickLibVersionText = "6.7.3"; } + /* + * With ImageMagick 6.6.3 long and unsinged long were changed to + * ssize_t and size_t. This is only a problem for 64bits windows. + */ + static if (MagickLibVersion < 0x663 && c_ulong.sizeof != size_t.sizeof) + { + static assert(0, "Only ImageMagick version 6.6.3 and up are supported on your platform"); + } + char* GetMagickHomeURL(); const(char)* GetMagickCopyright(); |
