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-09-08 20:29:21 +01:00
2018-08-21 07:17:06 +01:00
2007-01-07 10:17:12 +00:00
2019-09-08 20:29:21 +01:00
2019-03-18 20:32:55 +00:00
2007-01-07 10:17:12 +00:00
2007-01-07 10:17:12 +00:00
2007-01-07 10:17:12 +00:00
2019-09-08 20:29:21 +01:00
2019-03-16 12:25:23 +00:00
2007-01-07 10:17:12 +00:00
2007-01-07 10:17:12 +00:00
2019-09-08 20:29:21 +01:00
2019-03-18 20:32:55 +00:00
2007-02-06 22:39:15 +00:00
2019-09-08 20:29:21 +01:00
2019-03-16 12:25:23 +00:00
2017-09-13 19:26:28 +01:00
2019-03-18 21:53:45 +00:00
2019-09-08 20:29:21 +01:00
2019-03-18 22:02:13 +00:00
2017-05-07 16:29:01 +01:00
2019-03-16 12:25:23 +00:00
2019-03-18 20:32:55 +00:00
2018-11-03 13:45:00 +00:00
2019-09-08 20:29:21 +01:00
2019-09-08 20:29:21 +01:00
2020-02-09 08:51:37 +00:00
2019-09-09 19:12:02 +01:00
2019-09-08 20:29:21 +01:00
2019-10-14 19:42:37 +01:00
2020-02-09 08:19:21 +00:00
2019-10-14 19:42:37 +01:00
2019-09-08 20:29:21 +01:00
2019-03-26 00:27:04 +00:00
2019-03-26 00:27:04 +00:00
2019-03-16 12:25:23 +00:00
2019-09-08 20:29:21 +01:00
2019-10-14 19:42:37 +01:00
2019-10-14 19:42:37 +01:00
2019-09-08 20:29:21 +01:00
2019-09-19 18:12:22 +01:00
2019-03-16 12:25:23 +00:00
2019-09-08 20:29:21 +01:00
2010-12-27 00:24:48 +00:00
2018-11-03 13:47:29 +00:00
2019-09-08 20:29:21 +01:00
2020-02-09 08:51:37 +00:00
2020-02-09 08:51:37 +00:00
2019-09-08 20:29:21 +01:00
2020-02-09 08:19:21 +00:00
2019-09-08 20:29:21 +01:00
2019-09-08 20:29:21 +01:00
2019-09-08 20:29:21 +01:00
2019-09-08 20:29:21 +01:00
2019-09-08 20:29:21 +01:00
2020-02-09 08:19:21 +00:00
2019-01-20 17:09:24 +00:00
2019-10-14 19:42:37 +01:00
2020-02-09 08:19:21 +00:00
2017-02-14 23:25:25 +00:00
2019-09-08 20:29:21 +01:00
2019-09-08 20:29:21 +01:00
2019-09-08 20:29:21 +01:00