diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-10-04 19:08:14 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-10-04 19:08:14 +0400 |
commit | f65786534a1ad19e76f9192d2811e4c2fc3c675d (patch) | |
tree | 19e7b38dc207604534bb8a70f23ab32551a26567 /jam-files/engine/boehm_gc/add_gc_prefix.c | |
parent | f4150c2494106623b3ca851585f025557f3711f0 (diff) |
update bjam source code. Copied from boost 1.54
Diffstat (limited to 'jam-files/engine/boehm_gc/add_gc_prefix.c')
-rw-r--r-- | jam-files/engine/boehm_gc/add_gc_prefix.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/jam-files/engine/boehm_gc/add_gc_prefix.c b/jam-files/engine/boehm_gc/add_gc_prefix.c new file mode 100644 index 000000000..59515c786 --- /dev/null +++ b/jam-files/engine/boehm_gc/add_gc_prefix.c @@ -0,0 +1,20 @@ +# include <stdio.h> +# include "version.h" + +int main(argc, argv, envp) +int argc; +char ** argv; +char ** envp; +{ + int i; + + for (i = 1; i < argc; i++) { + if (GC_ALPHA_VERSION == GC_NOT_ALPHA) { + printf("gc%d.%d/%s ", GC_VERSION_MAJOR, GC_VERSION_MINOR, argv[i]); + } else { + printf("gc%d.%dalpha%d/%s ", GC_VERSION_MAJOR, + GC_VERSION_MINOR, GC_ALPHA_VERSION, argv[i]); + } + } + return(0); +} |