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

Top Page
Delete this message
Author: Giuseppe D'Angelo
Date:  
To: pcre-dev
Subject: 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