Re: [pcre-dev] Yet Another RC

Página superior
Eliminar este mensaje
Autor: Craig Silverstein
Fecha:  
A: silvermoonwoman
Cc: pcre-dev
Asunto: Re: [pcre-dev] Yet Another RC
} Since neither of the suggestions made a difference in
} Msys/configure, I didn't see a point in trying CMake, but let me
} know if you think it would help.

No, that's ok. It sounds like the code that added #define HAVE_STRTOQ
was in error. Try changing the code like this instead and see if it
works:

1) Move the #ifdef HAVE_WINDOWS_H down past all the #includes, like
the second suggestion from last time.

2) Change the #ifdef HAVE_WINDOWS_H code to look like this:

     #ifdef HAVE_WINDOWS_H
     #define HAVE_STRTOLL 1
     #define strtoll     _strtoui64
     #define strtoull    _strtoi64
     #endif


If that works with msys/configure, try it with cmake as well.

craig