From: Cristy Date: Wed, 26 Aug 2015 16:01:06 +0000 (-0400) Subject: Display Visual C++ compiler version X-Git-Tag: 7.0.1-0~667 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aa22891f2192f582fa449a7919e2b85cd8a26b45;p=imagemagick Display Visual C++ compiler version --- diff --git a/MagickCore/version.c b/MagickCore/version.c index 14f523b12..a410905a2 100644 --- a/MagickCore/version.c +++ b/MagickCore/version.c @@ -588,6 +588,12 @@ MagickExport void ListMagickVersion(FILE *file) (void) FormatLocaleFile(file,"Copyright: %s\n",GetMagickCopyright()); (void) FormatLocaleFile(file,"License: %s\n",GetMagickLicense()); (void) FormatLocaleFile(file,"Features: %s\n",GetMagickFeatures()); - (void) FormatLocaleFile(file,"Delegates (built-in): %s\n\n", + (void) FormatLocaleFile(file,"Delegates (built-in): %s\n", GetMagickDelegates()); +#if defined(MAGICKCORE_WINDOWS_SUPPORT) && defined(_MSC_VER) + (void) FormatLocaleFile(file,"Visual C++: %d\n",_MSC_VER); +#endif +#if defined(MAGICKCORE_WINDOWS_SUPPORT) && defined(__CLR_VER) + (void) FormatLocaleFile(file,"Common Language Runtime: %d\n",__CLR_VER); +#endif }