summaryrefslogtreecommitdiff
path: root/tests/libtest/lib518.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-09-12 01:17:16 +0000
committerYang Tse <yangsita@gmail.com>2006-09-12 01:17:16 +0000
commit5a6c89661a96fa2139fa0cff07de2f2eff369127 (patch)
tree33e8ddce843f05985fdf866ef6a510c685528429 /tests/libtest/lib518.c
parent7c5745720aca27f38dc875a39d43cc3aba189471 (diff)
downloadcurl-5a6c89661a96fa2139fa0cff07de2f2eff369127.tar.gz
Cygwin preprocessor adjustments
Diffstat (limited to 'tests/libtest/lib518.c')
-rw-r--r--tests/libtest/lib518.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/lib518.c b/tests/libtest/lib518.c
index 1c858ee35..d0c200774 100644
--- a/tests/libtest/lib518.c
+++ b/tests/libtest/lib518.c
@@ -32,7 +32,7 @@
#define NUM_OPEN (FD_SETSIZE + 10)
#define NUM_NEEDED (NUM_OPEN + 16)
-#if defined(WIN32) || defined(_WIN32) || defined(MSDOS)
+#if (defined(WIN32) || defined(_WIN32) || defined(MSDOS)) && !defined(__CYGWIN__)
#define DEV_NULL "NUL"
#else
#define DEV_NULL "/dev/null"