[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Port to 32-bit long + 64-bit time_t
From: |
Paul Smith |
Subject: |
Re: [PATCH] Port to 32-bit long + 64-bit time_t |
Date: |
Tue, 04 Oct 2022 09:13:56 -0400 |
User-agent: |
Evolution 3.44.4 (by Flathub.org) |
On Tue, 2022-10-04 at 09:06 +0300, Eli Zaretskii wrote:
> > From: Paul Smith <psmith@gnu.org>
> > Cc: bug-make@gnu.org
> > 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.