aboutsummaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-02-28 17:46:36 +0000
committerNick Mathewson <nickm@torproject.org>2007-02-28 17:46:36 +0000
commite1176ece5ad70677d34feb097a9b9fcd98143c55 (patch)
tree88618f465ee9cdd583446a4f4da669d490e8c57f /src/tools
parentdeef370a1c4ba044d58f55108d55dbf6ce7a066b (diff)
downloadtor-e1176ece5ad70677d34feb097a9b9fcd98143c55.tar
tor-e1176ece5ad70677d34feb097a9b9fcd98143c55.tar.gz
r11992@catbus: nickm | 2007-02-28 12:46:32 -0500
compile fix on mingw: mingw does not define _MSC_VER. svn:r9682
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/tor-resolve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/tor-resolve.c b/src/tools/tor-resolve.c
index f24bff497..25a14a466 100644
--- a/src/tools/tor-resolve.c
+++ b/src/tools/tor-resolve.c
@@ -31,7 +31,7 @@
#endif
#ifdef MS_WINDOWS
-#if (_MSC_VER <= 1300)
+#if defined(_MSC_VER) && (_MSC_VER <= 1300)
#include <winsock.h>
#else
#include <winsock2.h>