diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-10-09 15:46:21 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-10-09 15:46:21 +0000 |
commit | 829bf4dcd0318431010da3ff5e3785fb9fb2f80c (patch) | |
tree | 50f44fe675b886f6ca132cf5532ceb1e88d133a1 /src/win32 | |
parent | fa3ee3600eb7a443343af560e10eab7263d75d31 (diff) | |
download | tor-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.h | 3 |
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" |