mirror of
https://github.com/fluencelabs/musl
synced 2025-06-22 11:11:54 +00:00
fix O_SYNC definition, cleanup fcntl.h
This commit is contained in:
@ -78,6 +78,14 @@ int posix_fallocate(int, off_t, off_t);
|
||||
#define S_IRWXO 0007
|
||||
#endif
|
||||
|
||||
#ifdef _GNU_SOURCE
|
||||
#define FAPPEND O_APPEND
|
||||
#define FFSYNC O_FSYNC
|
||||
#define FASYNC O_ASYNC
|
||||
#define FNONBLOCK O_NONBLOCK
|
||||
#define FNDELAY O_NDELAY
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user