Evil: some headers could define WIN32_LEAN_AND_MEAN. Prevent multiple

define of that macro


SVN revision: 57505
This commit is contained in:
Vincent Torri 2011-03-03 21:12:45 +00:00
parent f2247fb7e3
commit faaadaec77
1 changed files with 3 additions and 1 deletions

View File

@ -56,7 +56,9 @@ extern "C" {
#endif
#define WIN32_LEAN_AND_MEAN
#ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
#endif
#include <windows.h>
#undef WIN32_LEAN_AND_MEAN