mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 09:59:42 +00:00
Disable uncaught_exception support for C++ 20 and later (PR #1187)
`std::uncaught_exception` was removed from C++ 20.
This commit is contained in:
parent
3668559ddf
commit
c364032d4c
@ -39,7 +39,10 @@
|
|||||||
|
|
||||||
// You may need to force include a C++ header on Android when using STLPort
|
// You may need to force include a C++ header on Android when using STLPort
|
||||||
// to ensure _STLPORT_VERSION is defined
|
// to ensure _STLPORT_VERSION is defined
|
||||||
#if (defined(_MSC_VER) && _MSC_VER <= 1300) || defined(__MWERKS__) || (defined(_STLPORT_VERSION) && ((_STLPORT_VERSION < 0x450) || defined(_STLP_NO_UNCAUGHT_EXCEPT_SUPPORT)))
|
#if (defined(_MSC_VER) && _MSC_VER <= 1300) || \
|
||||||
|
defined(__MWERKS__) || \
|
||||||
|
(defined(_STLPORT_VERSION) && ((_STLPORT_VERSION < 0x450) || defined(_STLP_NO_UNCAUGHT_EXCEPT_SUPPORT)) || \
|
||||||
|
(__cplusplus >= 202002L))
|
||||||
#define CRYPTOPP_DISABLE_UNCAUGHT_EXCEPTION
|
#define CRYPTOPP_DISABLE_UNCAUGHT_EXCEPTION
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user