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:
parent
8c560c809f
commit
248e983efb
2 changed files with 10 additions and 0 deletions
|
@ -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) '/')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue