summaryrefslogtreecommitdiffstats
path: root/generator/tests_c_api.ml
diff options
context:
space:
mode:
Diffstat (limited to 'generator/tests_c_api.ml')
-rw-r--r--generator/tests_c_api.ml4
1 files changed, 0 insertions, 4 deletions
diff --git a/generator/tests_c_api.ml b/generator/tests_c_api.ml
index acd8a749..ebde7b70 100644
--- a/generator/tests_c_api.ml
+++ b/generator/tests_c_api.ml
@@ -42,10 +42,6 @@ let rec generate_tests () =
#include <sys/types.h>
#include <fcntl.h>
-#ifndef O_CLOEXEC
-#define O_CLOEXEC 0
-#endif
-
#include \"guestfs.h\"
#define STREQ(a,b) (strcmp((a),(b)) == 0)