diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-10-09 15:47:08 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-10-09 15:47:08 +0000 |
commit | 17abfa6a6afa352ea5fcb0eddbc4539cd96e448c (patch) | |
tree | 6f5771ec63cd00c5d73eb637b886383b25f7bd24 /src | |
parent | 829bf4dcd0318431010da3ff5e3785fb9fb2f80c (diff) | |
download | tor-17abfa6a6afa352ea5fcb0eddbc4539cd96e448c.tar.gz tor-17abfa6a6afa352ea5fcb0eddbc4539cd96e448c.zip |
r8971@totoro: nickm | 2006-10-09 10:16:23 -0400
Move definition of ssize_t to torint.h
svn:r8670
Diffstat (limited to 'src')
-rw-r--r-- | src/common/torint.h | 5 | ||||
-rw-r--r-- | src/or/or.h | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/common/torint.h b/src/common/torint.h index 6ec53ed127..f520072aa2 100644 --- a/src/common/torint.h +++ b/src/common/torint.h @@ -41,6 +41,11 @@ #include <inttypes.h> #endif +#ifdef MS_WINDOWS +/* Windows likes to capitalize ssize_t. Charming. */ +#define ssize_t SSIZE_T +#endif + #if (SIZEOF_INT8_T != 0) #define HAVE_INT8_T #endif diff --git a/src/or/or.h b/src/or/or.h index 92fac0a159..679123d75b 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -110,7 +110,6 @@ #include <process.h> #include <direct.h> #include <windows.h> -#define ssize_t SSIZE_T #define snprintf _snprintf #endif |