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

Page principale
Supprimer ce message
Auteur: Giuseppe D'Angelo
Date:  
À: pcre-dev
Sujet: 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