On Monday 06 July 2009 07:50:59, Johnny Willemsen wrote:
> > > Add -D_WIN32_IE=0x0500 or so to your environment.
> > 
> > I feel like I said this a million times now.
> > Please stop spreading this wrong advice.  You should
> > never need to define _WIN32_IE on Windows CE.  If our headers
> > require it to expose some definitions needed for CE, then we
> > need to fix it in our headers.
> 
> Ok, if there are other ways to resolve this in the CE header files it would
> be great.

The header will have something like this:

#if _WIN32_IE >= 0x500
foo
#endif

We get to figure out what version of CE "foo" is
available on, and tweak the header to have:

#if _WIN32_IE >= 0x500 || _WIN32_WCE >= bar_ce_version
foo
#endif

Simple as that.

-- 
Pedro Alves

------------------------------------------------------------------------------
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to