sys/stat.h: Enable UTIME_NOW and UTIME_OMIT for RTEMS
This commit is contained in:
parent
9b24fc9505
commit
0c0f3df224
|
@ -128,7 +128,7 @@ struct stat
|
||||||
#define S_ISLNK(m) (((m)&_IFMT) == _IFLNK)
|
#define S_ISLNK(m) (((m)&_IFMT) == _IFLNK)
|
||||||
#define S_ISSOCK(m) (((m)&_IFMT) == _IFSOCK)
|
#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). */
|
/* Special tv_nsec values for futimens(2) and utimensat(2). */
|
||||||
#define UTIME_NOW -2L
|
#define UTIME_NOW -2L
|
||||||
#define UTIME_OMIT -1L
|
#define UTIME_OMIT -1L
|
||||||
|
|
Loading…
Reference in New Issue