VirtualBox

Ignore:
Timestamp:
Sep 1, 2019 1:56:52 PM (5 years ago)
Author:
vboxsync
Message:

vboximg-mount: macOS build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ImageMounter/vboximg-mount/vboximg-mount.cpp

    r80524 r80526  
    585585                stbuf->st_gid   = 0;
    586586
     587#ifdef RT_OS_DARWIN
     588                RTTimeSpecGetTimespec(&ObjInfo.AccessTime, &stbuf->st_atimespec);
     589                RTTimeSpecGetTimespec(&ObjInfo.ModificationTime, &stbuf->st_mtimespec);
     590                RTTimeSpecGetTimespec(&ObjInfo.ChangeTime, &stbuf->st_ctimespec);
     591                RTTimeSpecGetTimespec(&ObjInfo.BirthTime, &stbuf->st_birthtimespec);
     592#else
    587593                RTTimeSpecGetTimespec(&ObjInfo.AccessTime, &stbuf->st_atim);
    588594                RTTimeSpecGetTimespec(&ObjInfo.ModificationTime, &stbuf->st_mtim);
    589                 RTTimeSpecGetTimespec(&ObjInfo.ChangeTime, &stbuf->st_ctim);
    590                 /*RTTimeSpecGetTimespec(&ObjInfo.BirthTime, &stbuf->st_birthtime);*/ /* Not existing on Linux. */
     595                RTTimeSpecGetTimespec(&ObjInfo.ChangeTime, &stbuf->st_ctim); 
     596#endif
    591597
    592598                switch (ObjInfo.Attr.fMode & RTFS_TYPE_MASK)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette