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

トップ ページ
このメッセージを削除
著者: ph10
日付:  
To: pcre-dev
CC: Daniel Richard G.
題目: 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