summaryrefslogtreecommitdiff
path: root/tests/test-dup-safer.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-dup-safer.c')
-rw-r--r--tests/test-dup-safer.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/test-dup-safer.c b/tests/test-dup-safer.c
index 28f1317723..b71b6c3912 100644
--- a/tests/test-dup-safer.c
+++ b/tests/test-dup-safer.c
@@ -38,9 +38,6 @@
# define setmode(f,m) zero ()
static int zero (void) { return 0; }
#endif
-#ifndef O_CLOEXEC
-# define O_CLOEXEC 0
-#endif
/* This test intentionally closes stderr. So, we arrange to have fd 10
(outside the range of interesting fd's during the test) set up to