summaryrefslogtreecommitdiff
path: root/src/or/test.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-10-20 23:30:38 +0000
committerNick Mathewson <nickm@torproject.org>2004-10-20 23:30:38 +0000
commit6899b8001a10ed67fbca527352cd49137854125f (patch)
tree8327c2344efb5282c2c60ae8b62b4e479df518f1 /src/or/test.c
parent820ad3c66aad34233b1ea59ce15c99dad8818c0b (diff)
downloadtor-6899b8001a10ed67fbca527352cd49137854125f.tar.gz
tor-6899b8001a10ed67fbca527352cd49137854125f.zip
Check for low _MSC_VER, not high. On windows, always use winsock.
svn:r2575
Diffstat (limited to 'src/or/test.c')
-rw-r--r--src/or/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/test.c b/src/or/test.c
index 745a8fedc0..5eec99ed9e 100644
--- a/src/or/test.c
+++ b/src/or/test.c
@@ -51,7 +51,7 @@ setup_directory()
if (is_setup) return;
sprintf(temp_dir, "/tmp/tor_test_%d", (int) getpid());
-#ifdef _MSC_VER
+#ifdef MS_WINDOWS
r = mkdir(temp_dir);
#else
r = mkdir(temp_dir, 0700);