diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/c-api/test-last-errno.c | 4 | ||||
-rw-r--r-- | tests/c-api/test-user-cancel.c | 4 | ||||
-rw-r--r-- | tests/xml/fake-libvirt-xml.c | 4 |
3 files changed, 0 insertions, 12 deletions
diff --git a/tests/c-api/test-last-errno.c b/tests/c-api/test-last-errno.c index b515624f..1773349a 100644 --- a/tests/c-api/test-last-errno.c +++ b/tests/c-api/test-last-errno.c @@ -31,10 +31,6 @@ #include "guestfs.h" -#ifndef O_CLOEXEC -#define O_CLOEXEC 0 -#endif - int main (int argc, char *argv[]) { 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; diff --git a/tests/xml/fake-libvirt-xml.c b/tests/xml/fake-libvirt-xml.c index 61065d3d..a34b700a 100644 --- a/tests/xml/fake-libvirt-xml.c +++ b/tests/xml/fake-libvirt-xml.c @@ -25,10 +25,6 @@ #include <sys/types.h> #include <sys/stat.h> -#ifndef O_CLOEXEC -#define O_CLOEXEC 0 -#endif - /* Old <libvirt.h> had a slightly different definition of * virDomainGetXMLDesc (using 'int' for flags instead of 'unsigned * int'). To avoid an error trying to redefine it with a different |