OSDN Git Service

Backport from git Libtool:
[pf3gnuchains/gcc-fork.git] / boehm-gc / gcname.c
1 #include <stdio.h>
2 #include "version.h"
3
4 int main()
5 {
6     if (GC_ALPHA_VERSION == GC_NOT_ALPHA) {
7         printf("gc%d.%d", GC_VERSION_MAJOR, GC_VERSION_MINOR);
8     } else {
9         printf("gc%d.%dalpha%d", GC_VERSION_MAJOR,
10                                  GC_VERSION_MINOR, GC_ALPHA_VERSION);
11     }
12     return 0;
13 }