sys/stat.h: Enable UTIME_NOW and UTIME_OMIT for RTEMS

This commit is contained in:
Joel Sherrill 2021-05-19 13:43:25 -05:00 committed by Corinna Vinschen
parent 9b24fc9505
commit 0c0f3df224
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ struct stat
#define S_ISLNK(m) (((m)&_IFMT) == _IFLNK)
#define S_ISSOCK(m) (((m)&_IFMT) == _IFSOCK)
#if defined(__CYGWIN__)
#if defined(__CYGWIN__) || defined(__rtems__)
/* Special tv_nsec values for futimens(2) and utimensat(2). */
#define UTIME_NOW -2L
#define UTIME_OMIT -1L