Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Foundation/include/Poco/Platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,9 @@
#if __has_include(<cxxabi.h>)
#define POCO_HAVE_CXXABI_H
#endif
#if defined (__MINGW32__) || defined (__MINGW64__)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 This addition is correct and valuable. Currently, MSYS2 Clang64 gets POCO_COMPILER_CLANG but not POCO_COMPILER_MINGW, which means MinGW-specific workarounds (e.g. avoiding __try/__except SEH) do not trigger. This is the right fix for the core issue described in this PR.

#define POCO_COMPILER_MINGW
#endif
#elif defined(_MSC_VER)
#define POCO_COMPILER_MSVC
#elif defined (__GNUC__)
Expand Down