basic: ensure O_TMPFILE is always defined (#6816)
This commit is contained in:
parent
6fcdcbc517
commit
d5df18e4b6
|
@ -606,14 +606,13 @@ struct input_mask {
|
|||
#else
|
||||
#define __O_TMPFILE 020000000
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* a horrid kludge trying to make sure that this will fail on old kernels */
|
||||
#ifndef O_TMPFILE
|
||||
#define O_TMPFILE (__O_TMPFILE | O_DIRECTORY)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#if !HAVE_DECL_LO_FLAGS_PARTSCAN
|
||||
#define LO_FLAGS_PARTSCAN 8
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue