Move WIN32_LEAN_AND_MEAN to windows.h (silence redeclarations)
This commit is contained in:
parent
2dc7161453
commit
95aac21130
2 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue