fix build in old compiler

This commit is contained in:
tildearrow 2022-01-17 17:12:24 -05:00
parent f58d926c37
commit f3a61f3222
2 changed files with 4 additions and 2 deletions

View file

@ -3406,7 +3406,9 @@ String getHomeDir() {
ret=tempDir;
ret+='\\';
#else
getcwd(tempDir,4095);
char* unused=getcwd(tempDir,4095);
char* unused1=unused; // dang it compiler
unused=unused1;
ret=tempDir;
ret+='/';
#endif