mirror of
https://github.com/pocoproject/poco.git
synced 2025-12-21 12:49:44 +01:00
fix(Foundation): detection of CXXABI is based on presence of the header file, simplify conditions.
This commit is contained in:
@@ -247,12 +247,16 @@
|
||||
|
||||
#if defined(__clang__)
|
||||
#define POCO_COMPILER_CLANG
|
||||
#define POCO_HAVE_CXXABI_H
|
||||
#if __has_include(<cxxabi.h>)
|
||||
#define POCO_HAVE_CXXABI_H
|
||||
#endif
|
||||
#elif defined(_MSC_VER)
|
||||
#define POCO_COMPILER_MSVC
|
||||
#elif defined (__GNUC__)
|
||||
#define POCO_COMPILER_GCC
|
||||
#define POCO_HAVE_CXXABI_H
|
||||
#if __has_include(<cxxabi.h>)
|
||||
#define POCO_HAVE_CXXABI_H
|
||||
#endif
|
||||
#if defined (__MINGW32__) || defined (__MINGW64__)
|
||||
#define POCO_COMPILER_MINGW
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user