summaryrefslogtreecommitdiffstats
path: root/tests/c-api/test-user-cancel.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/c-api/test-user-cancel.c')
-rw-r--r--tests/c-api/test-user-cancel.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/c-api/test-user-cancel.c b/tests/c-api/test-user-cancel.c
index 8bc2fc20..164997a4 100644
--- a/tests/c-api/test-user-cancel.c
+++ b/tests/c-api/test-user-cancel.c
@@ -46,10 +46,6 @@
#include "guestfs.h"
-#ifndef O_CLOEXEC
-#define O_CLOEXEC 0
-#endif
-
static const char *filename = "test.img";
static const off_t filesize = 1024*1024*1024;