diff --git a/src/benchCommandOpt.c b/src/benchCommandOpt.c index a2e87f43..6eb30a0c 100644 --- a/src/benchCommandOpt.c +++ b/src/benchCommandOpt.c @@ -47,7 +47,9 @@ void printVersion() { // version printf("taosBenchmark version: %s\ngit: %s\n", taosBenchmark_ver, taosBenchmark_commit); +#ifndef WINDOWS printf("build: %s\n", getBuildInfo()); +#endif if (strlen(taosBenchmark_status) > 0) { printf("status: %s\n", taosBenchmark_status); } diff --git a/src/taosdump.c b/src/taosdump.c index 7674793a..6714e42d 100644 --- a/src/taosdump.c +++ b/src/taosdump.c @@ -668,8 +668,9 @@ static void printVersion(FILE *file) { char taosdump_commit[] = TAOSDUMP_COMMIT_SHA1; fprintf(file,"taosdump version: %s\ngit: %s\n", taostools_ver, taosdump_commit); - +#ifndef WINDOWS printf("build: %s\n", getBuildInfo()); +#endif if (strlen(taosdump_status) > 0) { fprintf(file, "status:%s\n", taosdump_status);