mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
Add TOR_PRIdSZ to torint.h
This commit is contained in:
parent
acb54dee7b
commit
e26794ace9
@ -100,6 +100,16 @@ typedef int32_t ssize_t;
|
||||
# define TOR_PRIuSZ "zu"
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
# ifdef _WIN64
|
||||
# define TOR_PRIdSZ PRId64
|
||||
# else
|
||||
# define TOR_PRIdSZ PRId32
|
||||
# endif
|
||||
#else
|
||||
# define TOR_PRIdSZ "zd"
|
||||
#endif
|
||||
|
||||
#ifndef SSIZE_MAX
|
||||
#if (SIZEOF_SIZE_T == 4)
|
||||
#define SSIZE_MAX INT32_MAX
|
||||
|
Loading…
Reference in New Issue
Block a user