summaryrefslogtreecommitdiff
path: root/usr.bin/tar/test/test_0.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tar/test/test_0.c')
-rw-r--r--usr.bin/tar/test/test_0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/tar/test/test_0.c b/usr.bin/tar/test/test_0.c
index 1bafc05a2cad8..d224daaeacc2d 100644
--- a/usr.bin/tar/test/test_0.c
+++ b/usr.bin/tar/test/test_0.c
@@ -29,7 +29,7 @@ __FBSDID("$FreeBSD$");
* This first test does basic sanity checks on the environment. For
* most of these, we just exit on failure.
*/
-#ifndef _WIN32
+#if !defined(_WIN32) || defined(__CYGWIN__)
#define DEV_NULL "/dev/null"
#else
#define DEV_NULL "NUL"