4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-19 04:49:25 +08:00

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

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