1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-14 17:48:05 -05:00
Simon Tatham 8453b9239c New wrapper macro for printf("%zu"), for old VS compat.
A user reports that Visual Studio 2013 and earlier have printf
implementations in their C library that don't support the 'z' modifier
to indicate that an integer argument is size_t. The 'I' modifier
apparently works in place of it.

To avoid littering ifdefs everywhere, I've invented my own inttypes.h
style macros to wrap size_t formatting directives, which are defined
to %zu and %zx normally, or %Iu and %Ix in old-VS mode. Those are in
defs.h, and they're used everywhere that a %z might otherwise get into
the Windows build.

(cherry picked from commit 82a7e8c4ac25a13011e1b23f04faba7a52258e2a)
2020-02-09 08:51:37 +00:00
..
2019-03-18 20:32:55 +00:00
2019-03-18 20:32:55 +00:00
2017-09-13 19:26:28 +01:00
2017-05-07 16:29:01 +01:00
2019-03-18 20:32:55 +00:00
2019-10-14 19:42:37 +01:00
2019-10-14 19:42:37 +01:00
2019-10-14 19:42:37 +01:00
2019-10-14 19:42:37 +01:00