source:
trunk/gc6.8/gcname.c
| Last change on this file was 132, checked in by , 19 years ago | |
|---|---|
| File size: 275 bytes | |
| Line | |
|---|---|
| 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 | } |
Note:
See TracBrowser
for help on using the repository browser.
