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:
Дмитрий Левин 2015-01-09 03:47:23 +00:00
parent d9f7e7a439
commit 75023a9381

View File

@ -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