Fixes #13118 https://gitlab.com/kicad/code/kicad/issues/13118
@ -35,7 +35,10 @@
// that can create issues in .cpp files, mainly on msys2
#if defined (__MINGW32__)
#if defined ( LoadLibrary )
#undef LoadLibrary
#endif
#if defined ( GetClassInfo )
#undef GetClassInfo