Συντάκτης: Sheri Ημερομηνία: Προς: pcre-dev Αντικείμενο: Re: [pcre-dev] A test for the memory mismatch problem
Philip Hazel wrote: > On Thu, 29 Mar 2007, Sheri wrote:
>
> can we test this? Ah, I know. Please insert these lines before the line
> containing "/* Have to include stdlib.h in order to ensure that size_t
> is defined;" (around lin 74) in pcre.h:
>
> #ifdef _WIN32
> #error _WIN32 is defined
> #else
> #error _WIN32 is not defined
> #endif
>
> Then try to build PCRE. It will fail, but you will get one or the other
> of those messages. Hmm. I see that in pcretest.c, there is also a test
> for WIN32 (without the underscore). Perhaps you could try the test
> without the underscores as well.
>
>
> Philip
>
> pcre.h:75:2: #error _WIN32 is defined