mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
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:
parent
829bf4dcd0
commit
17abfa6a6a
@ -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
|
||||
|
@ -110,7 +110,6 @@
|
||||
#include <process.h>
|
||||
#include <direct.h>
|
||||
#include <windows.h>
|
||||
#define ssize_t SSIZE_T
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user