diff options
author | Christian Pointner <equinox@spreadspace.org> | 2015-05-18 03:53:26 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2015-05-18 03:53:26 (GMT) |
commit | 019ec2ec2c9e16ddfc94926d891dc2dc904638c5 (patch) | |
tree | 4c9bc8a942efd882db7d6e86d3b8267ab6a290a5 /src/options.c | |
parent | 8bc4bb5f1273566c704d76ab584276bd5774b9d8 (diff) |
Diffstat (limited to 'src/options.c')
-rw-r--r-- | src/options.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/options.c b/src/options.c index 8e42230..b6c593e 100644 --- a/src/options.c +++ b/src/options.c @@ -310,7 +310,13 @@ void options_print_usage() void options_print_version() { printf("%s\n", VERSION_STRING_0); +#if defined(__clang__) + printf("%s, using CLANG %s\n", VERSION_STRING_1, __clang_version__); +#elif defined(__GNUC__) + printf("%s, using GCC %d.%d.%d\n", VERSION_STRING_1, __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__); +#else printf("%s\n", VERSION_STRING_1); +#endif } void options_print(options_t* opt) |