VirtualBox

Changeset 77754 in vbox for trunk/src/VBox/Runtime/include


Ignore:
Timestamp:
Mar 18, 2019 12:23:18 PM (6 years ago)
Author:
vboxsync
Message:

IPRT: Some st_birthtime experimentation for FreeBSD.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/include/internal/fs.h

    r77231 r77754  
    3535# include <sys/stat.h>
    3636#endif
     37#ifdef RT_OS_FREEBSD
     38# include <osreldate.h>
     39#endif
    3740
    3841RT_C_DECLS_BEGIN
     
    6568#endif
    6669
     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
    6784RT_C_DECLS_END
    6885
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