r8971@totoro: nickm | 2006-10-09 10:16:23 -0400

Move definition of ssize_t to torint.h


svn:r8670
This commit is contained in:
Nick Mathewson 2006-10-09 15:47:08 +00:00
parent 829bf4dcd0
commit 17abfa6a6a
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -110,7 +110,6 @@
#include <process.h>
#include <direct.h>
#include <windows.h>
#define ssize_t SSIZE_T
#define snprintf _snprintf
#endif