projects
/
cacao.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84f19ce
)
* src/vm/vm.c (version): Check if __VERSION__ is defined.
author
twisti
<none@none>
Thu, 16 Mar 2006 17:16:09 +0000
(17:16 +0000)
committer
twisti
<none@none>
Thu, 16 Mar 2006 17:16:09 +0000
(17:16 +0000)
src/vm/vm.c
patch
|
blob
|
history
diff --git
a/src/vm/vm.c
b/src/vm/vm.c
index a63223b49bf54ad61e3a297aef2cc8d5b1f461c8..3a132e03b9f79e3ef25a62bd077769a538c1c700 100644
(file)
--- a/
src/vm/vm.c
+++ b/
src/vm/vm.c
@@
-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"");
}