Merge remote-tracking branch 'ffmancera/bug24861'

This commit is contained in:
Nick Mathewson
2018-01-12 13:29:53 -05:00
3 changed files with 22 additions and 4 deletions
+10
View File
@@ -348,6 +348,16 @@ typedef uint32_t uintptr_t;
#endif /* (SIZEOF_SIZE_T == 4) || ... */
#endif /* !defined(SIZE_MAX) */
#ifdef _WIN32
# ifdef _WIN64
# define TOR_PRIuSZ PRIu64
# else
# define TOR_PRIuSZ PRIu32
# endif
#else
# define TOR_PRIuSZ "zu"
#endif
#ifndef SSIZE_MAX
#if (SIZEOF_SIZE_T == 4)
#define SSIZE_MAX INT32_MAX