diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/disk_interface.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/disk_interface.cc b/src/disk_interface.cc index 7eb44b2..7351715 100644 --- a/src/disk_interface.cc +++ b/src/disk_interface.cc @@ -212,6 +212,8 @@ TimeStamp RealDiskInterface::Stat(const string& path, string* err) const { // For bionic, C and POSIX API is always enabled. // For solaris, see https://docs.oracle.com/cd/E88353_01/html/E37841/stat-2.html. return (int64_t)st.st_mtim.tv_sec * 1000000000LL + st.st_mtim.tv_nsec; +#elif defined(_AIX) + return (int64_t)st.st_mtime * 1000000000LL + st.st_mtime_n; #else return (int64_t)st.st_mtime * 1000000000LL + st.st_mtimensec; #endif |