
18 Dec
2006
18 Dec
'06
10:53 a.m.
On Sun, 17 Dec 2006 21:50:09 +0200, "Yuval Ronen" <ronen_yuval@yahoo.com> said:
Yes, and to solve it I strongly suggest that you define WIN32_LEAN_AND_MEAN as a global define for all you translation units. It removes most of the junk inside windows.h, including winsock.h, as far as I remember.
Yes, that is a good idea. The Windows projects that I work on also use precompiled headers to ensure things are included in the right order. Cheers, Chris