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:
parent
2bf5792b40
commit
7c2659314f
|
@ -124,7 +124,7 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#if defined(_MSC_VER) || defined(__MINGW32__)
|
||||
#include <compat/msvc.h>
|
||||
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue