public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] libc/include/sys/_default_fcntl.h: O_RSYNC and O_DSYNC are POSIX
@ 2024-07-03 13:51 Joel Sherrill
  0 siblings, 0 replies; only message in thread
From: Joel Sherrill @ 2024-07-03 13:51 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=a0637f8033a9de5ca2b0bbdc97ee2479a807425a

commit a0637f8033a9de5ca2b0bbdc97ee2479a807425a
Author: Joel Sherrill <joel@rtems.org>
Date:   Sat Jun 29 15:57:57 2024 -0500

    libc/include/sys/_default_fcntl.h: O_RSYNC and O_DSYNC are POSIX
    
    These should not be in a Cygewin conditional.

Diff:
---
 newlib/libc/include/sys/_default_fcntl.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/newlib/libc/include/sys/_default_fcntl.h b/newlib/libc/include/sys/_default_fcntl.h
index ce721fa23..148e97dd2 100644
--- a/newlib/libc/include/sys/_default_fcntl.h
+++ b/newlib/libc/include/sys/_default_fcntl.h
@@ -71,11 +71,12 @@ extern "C" {
 #define	O_DIRECT	_FDIRECT
 #endif
 
+#define O_DSYNC         _FSYNC
+#define O_RSYNC         _FSYNC
+
 #if defined (__CYGWIN__)
 #define O_BINARY	_FBINARY
 #define O_TEXT		_FTEXT
-#define O_DSYNC         _FSYNC
-#define O_RSYNC         _FSYNC
 
 /* Linux-specific flags */
 #if __GNU_VISIBLE

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-07-03 13:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-03 13:51 [newlib-cygwin] libc/include/sys/_default_fcntl.h: O_RSYNC and O_DSYNC are POSIX Joel Sherrill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).