white space; tabs; remove comment

This commit is contained in:
Andrew Cox 2022-07-01 13:35:10 -07:00 committed by GitHub
parent 256964caf0
commit 8a1475ce95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -195,10 +195,9 @@ static int64_t getModTime(const std::string &file) {
#if defined(_WIN32) #if defined(_WIN32)
return (int64_t)s.st_mtime * 1000000; return (int64_t)s.st_mtime * 1000000;
#elif defined(__APPLE__) #elif defined(__APPLE__)
// stat.h syntax has changed on MacOSX SDK since at least 10.15 return (int64_t)s.st_mtimespec.tv_sec * 1000000 + s.st_mtimespec.tv_nsec / 1000;
return (int64_t)s.st_mtimespec.tv_sec * 1000000 + s.st_mtimespec.tv_nsec / 1000;
#else #else
return (int64_t)s.st_mtim.tv_sec * 1000000 + s.st_mtim.tv_nsec / 1000; return (int64_t)s.st_mtim.tv_sec * 1000000 + s.st_mtim.tv_nsec / 1000;
#endif #endif
} }