From: dirk Date: Thu, 27 Aug 2015 21:18:02 +0000 (+0200) Subject: Changed output of -version for Visual Studio compiler. X-Git-Tag: 7.0.1-0~664^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2dd46f73f999515165f851f91ce00296871a99b2;p=imagemagick Changed output of -version for Visual Studio compiler. --- diff --git a/MagickCore/version.c b/MagickCore/version.c index a410905a2..f3a9dee70 100644 --- a/MagickCore/version.c +++ b/MagickCore/version.c @@ -587,13 +587,10 @@ MagickExport void ListMagickVersion(FILE *file) GetMagickVersion((size_t *) NULL)); (void) FormatLocaleFile(file,"Copyright: %s\n",GetMagickCopyright()); (void) FormatLocaleFile(file,"License: %s\n",GetMagickLicense()); +#if defined(MAGICKCORE_WINDOWS_SUPPORT) && defined(_MSC_FULL_VER) + (void) FormatLocaleFile(file,"Visual C++: %d\n",_MSC_FULL_VER); +#endif (void) FormatLocaleFile(file,"Features: %s\n",GetMagickFeatures()); (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 }