Re: [pcre-dev] JIT doesn't build under WinCE

Góra strony
Delete this message
Autor: Giuseppe D'Angelo
Data:  
Dla: pcre-dev
Temat: Re: [pcre-dev] JIT doesn't build under WinCE
Hi, a small followup: the JIT doesn't build under WinCE/x86 as well
because the indirect, apparently unguarded inclusion of excpt.h from
windows.h (#included from sljitUtils.c) has

#define leave                           __leave


and this breaks pcre_jit_compile.c that has a "leave" field in a struct.

A simple #undef after the include leave seems to do the trick. :(

Thanks,
--
Giuseppe D'Angelo