Move WIN32_LEAN_AND_MEAN to windows.h (silence redeclarations)

This commit is contained in:
Vlad Vissoultchev 2016-03-13 04:21:23 +02:00
parent 2dc7161453
commit 95aac21130
2 changed files with 4 additions and 3 deletions

View File

@ -126,9 +126,6 @@ typedef struct localeinfo_struct _locale_tstruct,*_locale_t;
#define NOSERVICE 1
#define NOMCX 1
#define NOIME 1
#ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN 1
#endif
#ifndef WINVER
# define WINVER 0x0502
#endif

View File

@ -6,6 +6,10 @@
#ifndef _WINDOWS_
#define _WINDOWS_
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN 1
#endif
#ifndef WINVER
#define WINVER 0x0502
#endif