This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch i386]: Enable trampoline code for nx-protected stack Windows
- From: Kai Tietz <Kai dot Tietz at onevision dot com>
- To: "Danny Smith" <dansmister at gmail dot com>
- Cc: "GCC Patches" <gcc-patches at gcc dot gnu dot org>, "Ian Lance Taylor" <iant at google dot com>, "Kai Tietz" <ktietz70 at googlemail dot com>
- Date: Tue, 8 Apr 2008 08:51:26 +0200
- Subject: Re: [patch i386]: Enable trampoline code for nx-protected stack Windows
"Danny Smith" <dansmister@gmail.com> wrote on 08.04.2008 08:28:54:
> >
> > Don't change libgcc2.c. Instead, add this to mingw32.h:
> >
> > #ifdef IN_LIBGCC2
> > #include <windows.h>
> > #endif
> >
> > That patch is OK if it works.
> >
> Ian's suggestion works for me on mingw32 with XP, sp2.
> So I have no objections to the mingw32.h delta. I will do the cygwin
> testing ASAP.
> Thanks
> Danny
Is it ok to apply it by moving the #include statement into mingw32.h, as
Ian suggested?
Cheers,
Kai
| (\_/) This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.