Switch build fixes

This commit is contained in:
2018-09-25 15:39:22 -07:00
parent 81f0a91569
commit 9e6d97564b
8 changed files with 99 additions and 0 deletions

View File

@@ -32,6 +32,8 @@ bool Copy(const SystemChar* from, const SystemChar* to)
return true;
#if __APPLE__
struct timespec times[] = { theStat.st_atimespec, theStat.st_mtimespec };
#elif __SWITCH__
struct timespec times[] = { theStat.st_atime, theStat.st_mtime };
#else
struct timespec times[] = { theStat.st_atim, theStat.st_mtim };
#endif