From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id 43BB1384843A; Thu, 20 May 2021 08:26:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 43BB1384843A Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Corinna Vinschen To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] sys/stat.h: Enable UTIME_NOW and UTIME_OMIT for RTEMS X-Act-Checkin: newlib-cygwin X-Git-Author: Joel Sherrill X-Git-Refname: refs/heads/master X-Git-Oldrev: 9b24fc95059901966c418c5a777e37a8f11ed9da X-Git-Newrev: 0c0f3df224c51769d3095769cc78005967495f85 Message-Id: <20210520082630.43BB1384843A@sourceware.org> Date: Thu, 20 May 2021 08:26:30 +0000 (GMT) X-BeenThere: newlib-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib GIT logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 May 2021 08:26:30 -0000 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=0c0f3df224c51769d3095769cc78005967495f85 commit 0c0f3df224c51769d3095769cc78005967495f85 Author: Joel Sherrill Date: Wed May 19 13:43:25 2021 -0500 sys/stat.h: Enable UTIME_NOW and UTIME_OMIT for RTEMS Diff: --- newlib/libc/include/sys/stat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newlib/libc/include/sys/stat.h b/newlib/libc/include/sys/stat.h index 68f839b35..3d31ba52f 100644 --- a/newlib/libc/include/sys/stat.h +++ b/newlib/libc/include/sys/stat.h @@ -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