Fix WIN32_LEAN_AND_MEAN warning spam

Added a check before defining WIN32_LEAN_AND_MEAN to prevent redefinition warnings or errors
This commit is contained in:
mq1n
2025-08-23 09:29:38 +03:00
parent e172d6cff6
commit 3090b79139

View File

@@ -1,6 +1,8 @@
#pragma once
#define WIN32_LEAN_AND_MEAN
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#ifndef _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS
#endif