mirror of
https://github.com/pocoproject/poco.git
synced 2025-06-02 13:08:22 +02:00
POCO Net build fails with clang-cl 6.00 on Windows #2428
This commit is contained in:
parent
e6b5288735
commit
d69c5b64de
@ -231,10 +231,10 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(__clang__)
|
||||||
#define POCO_COMPILER_MSVC
|
|
||||||
#elif defined(__clang__)
|
|
||||||
#define POCO_COMPILER_CLANG
|
#define POCO_COMPILER_CLANG
|
||||||
|
#elif defined(_MSC_VER)
|
||||||
|
#define POCO_COMPILER_MSVC
|
||||||
#elif defined (__GNUC__)
|
#elif defined (__GNUC__)
|
||||||
#define POCO_COMPILER_GCC
|
#define POCO_COMPILER_GCC
|
||||||
#elif defined (__MINGW32__) || defined (__MINGW64__)
|
#elif defined (__MINGW32__) || defined (__MINGW64__)
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
namespace Poco {
|
namespace Poco {
|
||||||
|
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(POCO_COMPILER_MSVC)
|
||||||
#define POCO_TYPEWRAPPER_DEFAULTVALUE(T) TypeWrapper<T>::TYPE()
|
#define POCO_TYPEWRAPPER_DEFAULTVALUE(T) TypeWrapper<T>::TYPE()
|
||||||
#else
|
#else
|
||||||
#define POCO_TYPEWRAPPER_DEFAULTVALUE(T) typename TypeWrapper<T>::TYPE()
|
#define POCO_TYPEWRAPPER_DEFAULTVALUE(T) typename TypeWrapper<T>::TYPE()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user