Fixed Windows 7 compatibility

This commit is contained in:
SChernykh
2023-08-31 16:21:59 +02:00
parent fecfa18999
commit 8e0f28ee30
12 changed files with 12 additions and 2 deletions

View File

@@ -67,10 +67,18 @@
#ifdef _WIN32
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#ifndef NOMINMAX
#define NOMINMAX
#endif
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0600
#endif
#include <Windows.h>
#elif defined(__linux__) || defined(__unix__) || defined(_POSIX_VERSION) || defined(__MACH__)