Don't redefine WIN32_LEAN_AND_MEAN if already defined

This commit is contained in:
Wertzui123 2023-10-07 14:13:08 +02:00 committed by GitHub
parent 18795fa61e
commit 69763e8811
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,9 @@ extern "C" {
#if defined(_MSC_VER) || defined(__MINGW64__) || defined(__MINGW32__)
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#ifndef __cplusplus
#define MICROSOFT_WINDOWS_WINBASE_H_DEFINE_INTERLOCKED_CPLUSPLUS_OVERLOADS 0
#endif