winconfig: Avoid redefinition of WIN32_LEAN_AND_MEAN

If it is already defined externally, do not define it again.
This commit is contained in:
Orgad Shaneh 2023-03-22 11:23:49 +02:00
parent 985171be35
commit f86426fc8a

View file

@ -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