diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-10-14 16:15:41 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-10-14 16:15:41 -0400 |
commit | 83c3f118db0ae3911ea72403856df9fb08b2d0e5 (patch) | |
tree | 9ca6f88f567835462314c426397923996bf8bebb /src/common/torint.h | |
parent | 95008db08d1bb5d7b608654fc1a115a42cd15252 (diff) | |
download | tor-83c3f118db0ae3911ea72403856df9fb08b2d0e5.tar.gz tor-83c3f118db0ae3911ea72403856df9fb08b2d0e5.zip |
Code to parse and access network parameters.
Partial backport of 381766ce4b1145460.
Partial backport of 56c6d78520a98fb64.
Diffstat (limited to 'src/common/torint.h')
-rw-r--r-- | src/common/torint.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/torint.h b/src/common/torint.h index 1f7421174a..f8441859a9 100644 --- a/src/common/torint.h +++ b/src/common/torint.h @@ -119,6 +119,10 @@ typedef unsigned int uint32_t; #endif #endif +#ifndef INT32_MIN +#define INT32_MIN (-2147483647-1) +#endif + #if (SIZEOF_LONG == 4) #ifndef HAVE_INT32_T typedef signed long int32_t; |