Back to index

plt-scheme  4.2.1
add_gc_prefix.c
Go to the documentation of this file.
00001 # include <stdio.h>
00002 # include "version.h"
00003  
00004 int main(argc, argv, envp)
00005 int argc;
00006 char ** argv;
00007 char ** envp;
00008 {
00009     int i;
00010     
00011     for (i = 1; i < argc; i++) {
00012       if (GC_ALPHA_VERSION == GC_NOT_ALPHA) {
00013        printf("gc%d.%d/%s ", GC_VERSION_MAJOR, GC_VERSION_MINOR, argv[i]);
00014       } else {
00015        printf("gc%d.%dalpha%d/%s ", GC_VERSION_MAJOR,
00016               GC_VERSION_MINOR, GC_ALPHA_VERSION, argv[i]);
00017       }
00018     }
00019     return(0);
00020 }