projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
utimens: cache whether utimensat syscall works
[pspp]
/
lib
/
cloexec.c
diff --git
a/lib/cloexec.c
b/lib/cloexec.c
index ff8105ba024bd8f04a88ece81dd2cca3b6f8d95b..0fb227c0a23e504e5cfa45e2a0c376745dba8669 100644
(file)
--- a/
lib/cloexec.c
+++ b/
lib/cloexec.c
@@
-24,10
+24,6
@@
#include <unistd.h>
#include <fcntl.h>
-#ifndef FD_CLOEXEC
-# define FD_CLOEXEC 1
-#endif
-
/* Set the `FD_CLOEXEC' flag of DESC if VALUE is true,
or clear the flag if VALUE is false.
Return 0 on success, or -1 on error with `errno' set. */