summaryrefslogtreecommitdiff
path: root/src/common/util.c
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/common/util.c
parentdeef370a1c4ba044d58f55108d55dbf6ce7a066b (diff)
downloadtor-e1176ece5ad70677d34feb097a9b9fcd98143c55.tar.gz
tor-e1176ece5ad70677d34feb097a9b9fcd98143c55.zip
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/common/util.c')
-rw-r--r--src/common/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c
index b042963c57..a16d41fad7 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -541,7 +541,7 @@ tor_parse_uint64(const char *s, int base, uint64_t min,
#ifdef HAVE_STRTOULL
r = (uint64_t)strtoull(s, &endptr, base);
#elif defined(MS_WINDOWS)
-#if _MSC_VER < 1300
+#if defined(_MSC_VER) && _MSC_VER < 1300
tor_assert(base <= 10);
r = (uint64_t)_atoi64(s);
endptr = (char*)s;