Fix build on systems that lack O_CLOEXEC definition
* xlat/timerfdflags.in [!TFD_CLOEXEC]: Check that O_CLOEXEC is defined.
This commit is contained in:
parent
d9f7e7a439
commit
75023a9381
@ -10,7 +10,7 @@ TFD_TIMER_ABSTIME
|
||||
#endif
|
||||
TFD_TIMER_CANCEL_ON_SET
|
||||
|
||||
#ifndef TFD_CLOEXEC
|
||||
#if !defined TFD_CLOEXEC && defined O_CLOEXEC
|
||||
# define TFD_CLOEXEC O_CLOEXEC
|
||||
#endif
|
||||
TFD_CLOEXEC
|
||||
|
Loading…
Reference in New Issue
Block a user