mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-05 21:24:59 +00:00
winconfig: Avoid redefinition of WIN32_LEAN_AND_MEAN
If it is already defined externally, do not define it again.
This commit is contained in:
parent
985171be35
commit
f86426fc8a
1 changed files with 2 additions and 0 deletions
|
@ -35,7 +35,9 @@
|
|||
#ifndef WINCONFIG_H
|
||||
#define WINCONFIG_H
|
||||
|
||||
#ifndef WIN32_LEAN_AND_MEAN
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
#include <windows.h>
|
||||
#undef WIN32_LEAN_AND_MEAN
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue