On Thursday 04 September 2008 19:45:11, [EMAIL PROTECTED] 
wrote:
> Revision: 1172
>           http://cegcc.svn.sourceforge.net/cegcc/?rev=1172&view=rev
> Author:   dannybackx
> Date:     2008-09-04 18:45:10 +0000 (Thu, 04 Sep 2008)
>
> Log Message:
> -----------
> Don't define getenv and system.

> Modified: trunk/cegcc/src/mingw/include/stdlib.h
> ===================================================================
> --- trunk/cegcc/src/mingw/include/stdlib.h    2008-09-04 18:28:26 UTC (rev
> 1171) +++ trunk/cegcc/src/mingw/include/stdlib.h      2008-09-04 18:45:10 UTC
> (rev 1172) @@ -380,10 +380,12 @@
>  /* Note: This is in startup code, not imported directly from dll */
>  int __cdecl  atexit  (void (*)(void));
>
> +#ifndef _WIN32_WCE
>  #ifndef __COREDLL__
>  _CRTIMP int __cdecl  system  (const char*);
>  _CRTIMP char* __cdecl        getenv  (const char*);
>  #endif
> +#endif

This doesn't look right.  Why wasn't the __COREDLL__ guard
enough here?  Notice that nothing else under src/mingw/ is
conditionalised on _WIN32_WCE.

-- 
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to