Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2004-11-11 05:30:00 +0300
committerMiguel de Icaza <miguel@gnome.org>2004-11-11 05:30:00 +0300
commit3cca3c82b8e7554f4f5c13a34e4e42949c9053da (patch)
treec487436df7cc0b6c00a89e5e0b68e2c4e642a0ef /libgc/gcname.c
parent5dc2037ab1a06f92df5f26eb305cde5e3ecb76a1 (diff)
Add libgc to mono
svn path=/trunk/mono/; revision=35994
Diffstat (limited to 'libgc/gcname.c')
-rw-r--r--libgc/gcname.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/libgc/gcname.c b/libgc/gcname.c
new file mode 100644
index 00000000000..e2119d79964
--- /dev/null
+++ b/libgc/gcname.c
@@ -0,0 +1,13 @@
+#include <stdio.h>
+#include "version.h"
+
+int main()
+{
+ if (GC_ALPHA_VERSION == GC_NOT_ALPHA) {
+ printf("gc%d.%d", GC_VERSION_MAJOR, GC_VERSION_MINOR);
+ } else {
+ printf("gc%d.%dalpha%d", GC_VERSION_MAJOR,
+ GC_VERSION_MINOR, GC_ALPHA_VERSION);
+ }
+ return 0;
+}