Re: [Mingw-users] windows.h dependency
- Date: Wed, 30 Jan 2008 10:18:05 -0000
- From: "Dave Korn" <dave.korn@xxxxxxxxxx>
- Subject: Re: [Mingw-users] windows.h dependency
On 30 January 2008 08:49, Vincent Torri wrote:
> On Tue, 29 Jan 2008, NightStrike wrote:
>
>> Is it required that every program #include <windows.h> before using
>> most of the mingw headers?
>
> Not always. See msdn. For example, when using sockets, you lay just need
> winsock2.h
>
Well, that's because winsock2.h #includes windows.h anyway, pretty much
first thing it does.
cheers,
DaveK
--
Can't think of a witty .sigline today....
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users