diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-02-28 17:46:36 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-02-28 17:46:36 +0000 |
commit | e1176ece5ad70677d34feb097a9b9fcd98143c55 (patch) | |
tree | 88618f465ee9cdd583446a4f4da669d490e8c57f /src/common/util.c | |
parent | deef370a1c4ba044d58f55108d55dbf6ce7a066b (diff) | |
download | tor-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.c | 2 |
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; |