Move WIN32_LEAN_AND_MEAN to windows.h (silence redeclarations)
This commit is contained in:
@ -126,9 +126,6 @@ typedef struct localeinfo_struct _locale_tstruct,*_locale_t;
|
|||||||
#define NOSERVICE 1
|
#define NOSERVICE 1
|
||||||
#define NOMCX 1
|
#define NOMCX 1
|
||||||
#define NOIME 1
|
#define NOIME 1
|
||||||
#ifndef WIN32_LEAN_AND_MEAN
|
|
||||||
# define WIN32_LEAN_AND_MEAN 1
|
|
||||||
#endif
|
|
||||||
#ifndef WINVER
|
#ifndef WINVER
|
||||||
# define WINVER 0x0502
|
# define WINVER 0x0502
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -6,6 +6,10 @@
|
|||||||
#ifndef _WINDOWS_
|
#ifndef _WINDOWS_
|
||||||
#define _WINDOWS_
|
#define _WINDOWS_
|
||||||
|
|
||||||
|
#ifndef WIN32_LEAN_AND_MEAN
|
||||||
|
#define WIN32_LEAN_AND_MEAN 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef WINVER
|
#ifndef WINVER
|
||||||
#define WINVER 0x0502
|
#define WINVER 0x0502
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user