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

@@ -612,6 +612,8 @@ static void SetAudioFileTime(const SystemString& path, const Sstat& stat)
#else
#if __APPLE__
struct timespec times[] = { stat.st_atimespec, stat.st_mtimespec };
#elif __SWITCH__
struct timespec times[] = { stat.st_atime, stat.st_mtime };
#else
struct timespec times[] = { stat.st_atim, stat.st_mtim };
#endif