Commit 3feba85a authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

fs: File: unix: Use st_mtime instead of st_mtim

We're only using the seconds anyway, and some systems don't provide
parent 02e563cb
......@@ -31,7 +31,7 @@ namespace fs
File::File( const std::string& filePath, const struct stat& s )
: CommonFile( filePath )
m_lastModificationDate = s.st_mtim.tv_sec;
m_lastModificationDate = s.st_mtime;
unsigned int File::lastModificationDate() const
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment