Don't create cat2strings if on VS2019

This commit is contained in:
Holger Vogt 2021-04-09 15:21:58 +02:00
parent d19c8e7f41
commit bc74caca2f
1 changed files with 2 additions and 0 deletions

View File

@ -390,6 +390,7 @@ static void delete_names(struct names *p)
tfree(p); tfree(p);
} }
#ifndef _MSC_VER
/* concatenate 2 strings, with space if spa == TRUE, /* concatenate 2 strings, with space if spa == TRUE,
return malloced string (replacement for tprintf, return malloced string (replacement for tprintf,
which is not efficient enough when reading PDKs which is not efficient enough when reading PDKs
@ -417,6 +418,7 @@ static char *cat2strings(char *s1, char *s2, bool spa)
} }
return strsum; return strsum;
} }
#endif
/* line1 /* line1