mirror of
https://github.com/AxioDL/amuse.git
synced 2025-12-10 05:58:00 +00:00
Switch build fixes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user