* src/vm/vm.c (version): Check if __VERSION__ is defined.
authortwisti <none@none>
Thu, 16 Mar 2006 17:16:09 +0000 (17:16 +0000)
committertwisti <none@none>
Thu, 16 Mar 2006 17:16:09 +0000 (17:16 +0000)
src/vm/vm.c

index a63223b49bf54ad61e3a297aef2cc8d5b1f461c8..3a132e03b9f79e3ef25a62bd077769a538c1c700 100644 (file)
@@ -438,7 +438,11 @@ static void version(void)
 
        puts("Configure/Build options:\n");
        puts("  ./configure: "VERSION_CONFIGURE_ARGS"");
+#if defined(__VERSION__)
        puts("  CC         : "VERSION_CC" ("__VERSION__")");
+#else
+       puts("  CC         : "VERSION_CC"");
+#endif
        puts("  CFLAGS     : "VERSION_CFLAGS"");
 }