diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-11-02 13:48:29 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-11-02 13:51:11 -0400 |
commit | 9dee6b1dced7c05c1b9e291cad06f646a7397d42 (patch) | |
tree | c0b40051a610e764d4fbe5d9373a7f56a5136222 /src/common/compat.c | |
parent | 05194cce626ee40770ffa1772b78f2b728addf33 (diff) | |
download | tor-9dee6b1dced7c05c1b9e291cad06f646a7397d42.tar tor-9dee6b1dced7c05c1b9e291cad06f646a7397d42.tar.gz |
Compile (with warnings) with mingw64
Patch from yayooo for bug 7260, forward-ported to 0.2.4.
Diffstat (limited to 'src/common/compat.c')
-rw-r--r-- | src/common/compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat.c b/src/common/compat.c index b8674a2f5..74585cd61 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -425,7 +425,7 @@ tor_vasprintf(char **strp, const char *fmt, va_list args) else *strp = strp_tmp; return r; -#elif defined(_MSC_VER) +#elif defined(HAVE__VSCPRINTF) /* On Windows, _vsnprintf won't tell us the length of the string if it * overflows, so we need to use _vcsprintf to tell how much to allocate */ int len, r; |