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
#define WIN32_LEAN_AND_MEAN
#endif
#ifndef NOMINMAX
#define NOMINMAX
#endif
#if defined(_WIN32)
#include <windows.h>
#include <minwindef.h>
#include <wtypes.h>
#endif
#ifdef ERROR
#undef ERROR
#endif