mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Add %lld compat defines.
This commit is contained in:
parent
8ce1cb174d
commit
95aad71678
@ -206,8 +206,10 @@ size_t strlcpy(char *dst, const char *src, size_t siz) ATTR_NONNULL((1,2));
|
|||||||
/** The formatting string used to put a uint64_t value in a printf() or
|
/** The formatting string used to put a uint64_t value in a printf() or
|
||||||
* scanf() function. See also U64_PRINTF_ARG and U64_SCANF_ARG. */
|
* scanf() function. See also U64_PRINTF_ARG and U64_SCANF_ARG. */
|
||||||
#define U64_FORMAT "%I64u"
|
#define U64_FORMAT "%I64u"
|
||||||
|
#define I64_FORMAT "%I64d"
|
||||||
#else
|
#else
|
||||||
#define U64_FORMAT "%llu"
|
#define U64_FORMAT "%llu"
|
||||||
|
#define I64_FORMAT "%lld"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/** Represents an mmaped file. Allocated via tor_mmap_file; freed with
|
/** Represents an mmaped file. Allocated via tor_mmap_file; freed with
|
||||||
|
Loading…
Reference in New Issue
Block a user