use a more portable version macro

Originally committed as revision 3281 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Mike Melanson 2004-07-01 03:34:49 +00:00
parent f6fa7a6cf5
commit da1da89044

View File

@ -3802,8 +3802,7 @@ static void show_banner(void)
LIBAVCODEC_BUILD); LIBAVCODEC_BUILD);
printf(" built on " __DATE__ " " __TIME__); printf(" built on " __DATE__ " " __TIME__);
#ifdef __GNUC__ #ifdef __GNUC__
printf(", using gcc %d.%d.%d\n", printf(", gcc: %s\n", __VERSION__);
__GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__);
#else #else
printf(", using a non-gcc compiler\n"); printf(", using a non-gcc compiler\n");
#endif #endif