Another fix to avoid conflict names issues with mingw + pegtl.

Fixes #13118
https://gitlab.com/kicad/code/kicad/issues/13118
This commit is contained in:
jean-pierre charras 2022-12-10 14:28:05 +01:00
parent e74654a20f
commit be8f99e8fe
1 changed files with 4 additions and 1 deletions

View File

@ -35,7 +35,10 @@
// that can create issues in .cpp files, mainly on msys2 // that can create issues in .cpp files, mainly on msys2
#if defined (__MINGW32__) #if defined (__MINGW32__)
#if defined ( LoadLibrary ) #if defined ( LoadLibrary )
#undef LoadLibrary #undef LoadLibrary
#endif
#if defined ( GetClassInfo )
#undef GetClassInfo
#endif #endif
#endif #endif