aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-06-03 18:52:31 +0000
committerNick Mathewson <nickm@torproject.org>2006-06-03 18:52:31 +0000
commit86da3e0a0af5813d6f5eb695d8353b2988f256ff (patch)
treeaf5d5a5738cec35692d59d38d378da26cee9e67e /src/common/compat.h
parent8f902e4b58aed1788732c5f61686119b00e0382c (diff)
downloadtor-86da3e0a0af5813d6f5eb695d8353b2988f256ff.tar.gz
tor-86da3e0a0af5813d6f5eb695d8353b2988f256ff.zip
Patch based on post by Mike C to or-dev; special-case based on use of MSVC, rather than on MS_WINDOWS, so that mingw builds.
svn:r6523
Diffstat (limited to 'src/common/compat.h')
-rw-r--r--src/common/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat.h b/src/common/compat.h
index 43199d9302..6116264d79 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -89,7 +89,7 @@ size_t strlcat(char *dst, const char *src, size_t siz);
size_t strlcpy(char *dst, const char *src, size_t siz);
#endif
-#ifdef MS_WINDOWS
+#ifdef _MSC_VER
#define U64_PRINTF_ARG(a) (a)
#define U64_SCANF_ARG(a) (a)
#define U64_FORMAT "%I64u"