mirror of
https://github.com/pocoproject/poco.git
synced 2025-12-09 08:15:33 +01:00
fix(Config.h): Corrected handling of supported C++ standards (#4973)
This commit is contained in:
@@ -189,10 +189,12 @@
|
||||
#define POCO_HAVE_CPP20_COMPILER (__cplusplus >= 202002L)
|
||||
#define POCO_HAVE_CPP23_COMPILER (__cplusplus >= 202302L)
|
||||
|
||||
#if defined(POCO_HAVE_CPP20_COMPILER)
|
||||
#if (POCO_HAVE_CPP20_COMPILER)
|
||||
#include <version>
|
||||
#if defined(__cpp_lib_jthread)
|
||||
#define POCO_HAVE_JTHREAD 1
|
||||
#define POCO_HAVE_JTHREAD true
|
||||
#else
|
||||
#define POCO_HAVE_JTHREAD false
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user