On Tue, 2022-10-04 at 09:06 +0300, Eli Zaretskii wrote:
> > From: Paul Smith <[email protected]>
> > Cc: [email protected]
> > Date: Mon, 03 Oct 2022 16:14:01 -0400
> >
> > I needed another set of changes, since intmax_t is a new type and
> > is not available on Windows so we needed to add it to configure.ac
> > etc.
>
> By "not available on Windows" you mean in MSVC, right? Because MinGW
> (both flavors of it) does provide it (in stdint.h).
Yes, sorry. I think this is covered because we have:
/* Define to 1 if you have the <stdint.h> header file. */
#ifdef __MINGW32__
#define HAVE_STDINT_H 1
#endif
...
/* Define {u,}intmax_t if not defined in <stdint.h> or <inttypes.h>. */
#if !HAVE_STDINT_H && !HAVE_INTTYPES_H
#define intmax_t long long
#define uintmax_t unsigned long long
#endif
Thx.