aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-10-09 15:46:21 +0000
committerNick Mathewson <nickm@torproject.org>2006-10-09 15:46:21 +0000
commit829bf4dcd0318431010da3ff5e3785fb9fb2f80c (patch)
tree50f44fe675b886f6ca132cf5532ceb1e88d133a1 /src/or/or.h
parentfa3ee3600eb7a443343af560e10eab7263d75d31 (diff)
downloadtor-829bf4dcd0318431010da3ff5e3785fb9fb2f80c.tar.gz
tor-829bf4dcd0318431010da3ff5e3785fb9fb2f80c.zip
r8970@totoro: nickm | 2006-10-09 10:12:53 -0400
Win32 patch from Matt Edman: fix compilation bugs by casting to int; defining SSIZE_T; defining USE_TWOS_COMPLEMENT in windows orconfig.h; and using the proper names for win32 functions on GetProcAddress. Also fixes bug 295. svn:r8669
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 679123d75b..92fac0a159 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -110,6 +110,7 @@
#include <process.h>
#include <direct.h>
#include <windows.h>
+#define ssize_t SSIZE_T
#define snprintf _snprintf
#endif