summaryrefslogtreecommitdiff
path: root/src/win32
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/win32
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/win32')
-rw-r--r--src/win32/orconfig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/win32/orconfig.h b/src/win32/orconfig.h
index 12a676512b..35abf24c08 100644
--- a/src/win32/orconfig.h
+++ b/src/win32/orconfig.h
@@ -220,6 +220,9 @@
#define HAVE_EVENT_H
+/* Define to 1 iff we represent negative integers with two's complement */
+#define USING_TWOS_COMPLEMENT
+
/* Version number of package */
#define VERSION "0.1.2.2-alpha-dev"