utimens: cache whether utimensat syscall works
[pspp] / lib / cloexec.c
index ff8105ba024bd8f04a88ece81dd2cca3b6f8d95b..0fb227c0a23e504e5cfa45e2a0c376745dba8669 100644 (file)
 #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. */