summaryrefslogtreecommitdiff
path: root/magick/static.c
diff options
context:
space:
mode:
Diffstat (limited to 'magick/static.c')
-rw-r--r--magick/static.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/magick/static.c b/magick/static.c
index ba2da66..7881a26 100644
--- a/magick/static.c
+++ b/magick/static.c
@@ -1,5 +1,5 @@
/*
-% Copyright (C) 2003-2019 GraphicsMagick Group
+% Copyright (C) 2003-2023 GraphicsMagick Group
% Copyright (C) 2002 ImageMagick Studio
%
% This program is covered by multiple licenses, which are described in
@@ -194,7 +194,9 @@ static const struct
STATICM("XCF",RegisterXCFImage,UnregisterXCFImage),
STATICM("XPM",RegisterXPMImage,UnregisterXPMImage),
#if defined(_VISUALC_)
+#if defined(EnableXTRNCoder)
STATICM("XTRN",RegisterXTRNImage,UnregisterXTRNImage),
+#endif /* if defined(EnableXTRNCoder) */
#endif /* defined(_VISUALC_) */
#if defined(HasX11)
STATICM("XWD",RegisterXWDImage,UnregisterXWDImage),