define WIN32_LEAN_AND_MEAN when including windows.h

This commit is contained in:
Arvid Norberg 2009-05-28 05:10:13 +00:00
parent 3ea52b240f
commit d5c8cd5274
1 changed files with 1 additions and 4 deletions

View File

@ -41,10 +41,6 @@ POSSIBILITY OF SUCH DAMAGE.
#pragma warning(push, 1)
#endif
#ifdef WIN32
#include <windows.h>
#endif
#include <boost/noncopyable.hpp>
#include <boost/filesystem/path.hpp>
@ -58,6 +54,7 @@ POSSIBILITY OF SUCH DAMAGE.
#ifdef TORRENT_WINDOWS
// windows part
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <winioctl.h>
#else