Re: [pcre-dev] [PATCH] PCRE2 on Windows

Startseite
Nachricht löschen
Autor: ph10
Datum:  
To: pcre-dev
CC: Daniel Richard G.
Betreff: Re: [pcre-dev] [PATCH] PCRE2 on Windows
On Thu, 21 Jun 2018, I wrote:

> What's the best way to solve that? Does
>
> #if defined(PCRE2_HAVE_STDINT_H) && PCRE2_HAVE_STDINT_H != 1
>
> or
>
> #if defined(PCRE2_HAVE_STDINT_H) && PCRE2_HAVE_STDINT_H
>
> do any better? There must be some way to test for that without causing a
> warning.


Oh, a *much* better solution is to modify configure.ac to this:

AC_CHECK_HEADERS([stdint.h], [PCRE2_HAVE_STDINT_H=1], [PCRE2_HAVE_STDINT_H=0])

I'll do that. Er, I've done it and committed it.


Philip

--
Philip Hazel