fix: undef error, include minwindef instead of windows

This commit is contained in:
2026-06-19 14:26:34 -03:00
parent c1bc1023eb
commit bf83ae571d
+7 -1
View File
@@ -3,10 +3,16 @@
#ifndef WIN32_LEAN_AND_MEAN #ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#endif #endif
#ifndef NOMINMAX #ifndef NOMINMAX
#define NOMINMAX #define NOMINMAX
#endif #endif
#if defined(_WIN32) #if defined(_WIN32)
#include <windows.h> #include <minwindef.h>
#include <wtypes.h>
#endif #endif
#ifdef ERROR
#undef ERROR
#endif