use a more portable version macro
authorMike Melanson <mike@multimedia.cx>
Thu, 1 Jul 2004 03:34:49 +0000 (03:34 +0000)
committerMike Melanson <mike@multimedia.cx>
Thu, 1 Jul 2004 03:34:49 +0000 (03:34 +0000)
Originally committed as revision 3281 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c

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