On Tuesday 07 October 2008 17:53:02, Vincent Torri wrote: > On Tue, 7 Oct 2008, Pedro Alves wrote: > > How about: > > > > #if (_WIN32_WINNT >= 0x0500) || (_WIN32_WCE >= 0x0400) > > > > ? > > I think it's good. After having passed -D_WIN32_WCE=0x0420 to the preproc, > it is compiling. > > I would also modify the comment of the corresponding #endif in secext.h >
Done. I also noticed that NameWindowsCeLocal was missing and that NameDnsDomain is not defined in CE. The MSDN page you pointed out shows the value or NameWindowsCeLocal so I just used it. NameCanonicalEx = 9, - NameServicePrincipal = 10, + NameServicePrincipal = 10, +#ifdef _WIN32_WCE + NameWindowsCeLocal = 0x80000001 +#else NameDnsDomain = 12 +#endif > I would also do the same for that file in the cegcc part. The w32api sources are shared for both toochains, so we only have to do it once (unlike users, if they want to tweak their installs, of course). Thanks. -- Pedro Alves ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel