Changeset 77754 in vbox
- Timestamp:
- Mar 18, 2019 12:23:18 PM (6 years ago)
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/include/internal/fs.h
r77231 r77754 35 35 # include <sys/stat.h> 36 36 #endif 37 #ifdef RT_OS_FREEBSD 38 # include <osreldate.h> 39 #endif 37 40 38 41 RT_C_DECLS_BEGIN … … 65 68 #endif 66 69 70 #ifdef RT_OS_FREEBSD 71 # if __FreeBSD_version >= 500000 /* 5.0 */ 72 # define HAVE_STAT_BIRTHTIME 73 # endif 74 # if __FreeBSD_version >= 900000 /* 9.0 */ 75 # define HAVE_STAT_TIMESPEC_BRIEF 76 # else 77 # ifndef __BSD_VISIBLE 78 # define __BSD_VISIBLE 79 # endif 80 # define HAVE_STAT_TIMESPEC 81 # endif 82 #endif 83 67 84 RT_C_DECLS_END 68 85 -
trunk/src/VBox/Runtime/r3/posix/fs2-posix.cpp
r76553 r77754 65 65 RTTimeSpecAddNano(RTTimeSpecSetSeconds(&pObjInfo->ModificationTime, pStat->st_mtime), pStat->st_mtimensec); 66 66 RTTimeSpecAddNano(RTTimeSpecSetSeconds(&pObjInfo->ChangeTime, pStat->st_ctime), pStat->st_ctimensec); 67 # ifdef HAVE_STAT_BIRTHTIME67 # ifdef HAVE_STAT_BIRTHTIME 68 68 RTTimeSpecAddNano(RTTimeSpecSetSeconds(&pObjInfo->BirthTime, pStat->st_birthtime), pStat->st_birthtimensec); 69 # endif69 # endif 70 70 71 71 #elif defined(HAVE_STAT_TIMESPEC_BRIEF) … … 96 96 pObjInfo->BirthTime = pObjInfo->ChangeTime; 97 97 #endif 98 99 98 100 99 /* the file mode */
Note:
See TracChangeset
for help on using the changeset viewer.