summaryrefslogtreecommitdiff
path: root/tools/gcname.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gcname.c')
-rw-r--r--tools/gcname.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/tools/gcname.c b/tools/gcname.c
index 74be553c..b9f33641 100644
--- a/tools/gcname.c
+++ b/tools/gcname.c
@@ -1,17 +1,9 @@
#include <stdio.h>
#include <gc.h>
-#ifndef GC_ALPHA_VERSION
-# define GC_ALPHA_VERSION GC_TMP_ALPHA_VERSION
-#endif
-
int main(void)
{
- 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);
- }
+ printf("gc-%d.%d.%d",
+ GC_VERSION_MAJOR, GC_VERSION_MINOR, GC_VERSION_MICRO);
return 0;
}