types.h: don't undef WINAPI for mingw

the undef leads to the __stdcall attribute being stripped from all
functions, which in turn causes the symbols to not be found at link
time, as stdcall symbols have different name mangling.
This commit is contained in:
rofl0r 2024-12-06 02:00:24 +00:00
parent 2bf5792b40
commit 7c2659314f
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@
#endif
#endif
#ifdef _MSC_VER
#if defined(_MSC_VER) || defined(__MINGW32__)
#include <compat/msvc.h>
#else