aboutsummaryrefslogtreecommitdiff
path: root/tar/test/test_option_C_mtree.c
diff options
context:
space:
mode:
Diffstat (limited to 'tar/test/test_option_C_mtree.c')
-rw-r--r--tar/test/test_option_C_mtree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tar/test/test_option_C_mtree.c b/tar/test/test_option_C_mtree.c
index b6ab159941d8..6cbac38fcac5 100644
--- a/tar/test/test_option_C_mtree.c
+++ b/tar/test/test_option_C_mtree.c
@@ -17,7 +17,7 @@ DEFINE_TEST(test_option_C_mtree)
p0 = NULL;
char *content = "./foo type=file uname=root gname=root mode=0755\n";
char *filename = "output.tar";
-#if defined(_WIN32) && !defined(CYGWIN)
+#if defined(_WIN32) && !defined(__CYGWIN__)
char *p;
#endif
@@ -32,7 +32,7 @@ DEFINE_TEST(test_option_C_mtree)
assertMakeDir("bar", 0775);
assertMakeFile("bar/foo", 0777, "abc");
-#if defined(_WIN32) && !defined(CYGWIN)
+#if defined(_WIN32) && !defined(__CYGWIN__)
p = absolute_path;
while(*p != '\0') {
if (*p == '/')