mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
r21703: fix build when O_SYNC not defined
This commit is contained in:
parent
b8327b21dd
commit
73b7a25ba8
@ -1798,9 +1798,11 @@ static uint32 open_flags_to_wire(int flags)
|
||||
if (flags & O_TRUNC) {
|
||||
ret |= SMB_O_TRUNC;
|
||||
}
|
||||
#if defined(O_SYNC)
|
||||
if (flags & O_SYNC) {
|
||||
ret |= SMB_O_SYNC;
|
||||
}
|
||||
#endif /* O_SYNC */
|
||||
if (flags & O_APPEND) {
|
||||
ret |= SMB_O_APPEND;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user