projects
/
strace
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9f7e7a
)
Fix build on systems that lack O_CLOEXEC definition
author
Dmitry V. Levin
<ldv@altlinux.org>
Fri, 9 Jan 2015 03:47:23 +0000
(
03:47
+0000)
committer
Dmitry V. Levin
<ldv@altlinux.org>
Fri, 9 Jan 2015 03:47:23 +0000
(
03:47
+0000)
* xlat/timerfdflags.in [!TFD_CLOEXEC]: Check that O_CLOEXEC is defined.
xlat/timerfdflags.in
patch
|
blob
|
history
diff --git
a/xlat/timerfdflags.in
b/xlat/timerfdflags.in
index e4e2b104f427dca6b1cba43bd35cd3a6223389d4..7d529eba326dbb8aeea827513a7aef23fe18ef60 100644
(file)
--- a/
xlat/timerfdflags.in
+++ b/
xlat/timerfdflags.in
@@
-10,7
+10,7
@@
TFD_TIMER_ABSTIME
#endif
TFD_TIMER_CANCEL_ON_SET
-#if
ndef TFD
_CLOEXEC
+#if
!defined TFD_CLOEXEC && defined O
_CLOEXEC
# define TFD_CLOEXEC O_CLOEXEC
#endif
TFD_CLOEXEC