We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f66e99 commit e5f1a2dCopy full SHA for e5f1a2d
zmq.hpp
@@ -30,7 +30,9 @@
30
#if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(_MSC_VER) && _MSC_VER >= 1900)
31
#define ZMQ_CPP11
32
#endif
33
-#if (defined(__cplusplus) && __cplusplus >= 201402L) || (defined(_HAS_CXX14) && _HAS_CXX14 == 1)
+#if (defined(__cplusplus) && __cplusplus >= 201402L) || \
34
+ (defined(_HAS_CXX14) && _HAS_CXX14 == 1) || \
35
+ (defined(_HAS_CXX17) && _HAS_CXX17 == 1) // _HAS_CXX14 might not be defined when using C++17 on MSVC
36
#define ZMQ_CPP14
37
38
#if (defined(__cplusplus) && __cplusplus >= 201703L) || (defined(_HAS_CXX17) && _HAS_CXX17 == 1)
0 commit comments