no more windows.h when?

This commit is contained in:
Green Sky 2024-01-07 18:00:28 +01:00
parent 75e7c5e3c7
commit 2bf6426663
No known key found for this signature in database

View File

@ -7,7 +7,9 @@
#if (defined(_WIN32) || defined(_WIN64)) #if (defined(_WIN32) || defined(_WIN64))
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#define NOMINMAX
#include <windows.h> #include <windows.h>
#undef NOMINMAX
#undef WIN32_LEAN_AND_MEAN #undef WIN32_LEAN_AND_MEAN
#else #else
#include <dlfcn.h> #include <dlfcn.h>