fix build in old compiler
This commit is contained in:
parent
f58d926c37
commit
f3a61f3222
2 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue