From: Christopher Kohlhoff (chris_at_[hidden])
Date: 2006-12-18 05:53:57
On Sun, 17 Dec 2006 21:50:09 +0200, "Yuval Ronen"
> 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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk