mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
2003-06-07 Michael Koch <konqueror@gmx.de>
* include/posix.h (O_DSYNC): Define O_DSYNC on platforms not supporting O_FSYNC (newlib). From-SVN: r67587
This commit is contained in:
committed by
Michael Koch
parent
8c560c809f
commit
248e983efb
@@ -56,6 +56,10 @@ details. */
|
||||
#if !defined (O_DSYNC) && defined (O_FSYNC)
|
||||
#define O_DSYNC O_FSYNC
|
||||
#endif
|
||||
// If O_DSYNC is still not defined, use O_SYNC (needed for newlib)
|
||||
#if !defined (O_DSYNC)
|
||||
#define O_DSYNC O_SYNC
|
||||
#endif
|
||||
|
||||
// Separator for file name components.
|
||||
#define _Jv_platform_file_separator ((jchar) '/')
|
||||
|
||||
Reference in New Issue
Block a user