Bao C. Ha escreveu:
> Hello,
> 
> I am using mingw32ce to recompile an application. Where are the
>  headers/libraries for the inet_ntoa and getpid? Following are
> the errors:
> 
> ...
> net_udp.c:220: warning: no previous prototype for 'inet_aton'
> ...

grepping helps ...

winsock2.h


> net_udp.c:362: warning: implicit declaration of function '_getpid'
> ...
> 

process.h

> Do I have to implement them myself?
> 

You have to implement _getpid yourself.  You can get by with a trivial
wrapper around GetCurrentProcessId.

Cheers,
Pedro Alves



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to