diff --git src/atomic_counter.hpp src/atomic_counter.hpp
index 23a7c50..d9b183d 100644
|
|
|
36 | 36 | #define ZMQ_ATOMIC_COUNTER_MUTEX |
37 | 37 | #elif defined ZMQ_HAVE_ATOMIC_INTRINSICS |
38 | 38 | #define ZMQ_ATOMIC_COUNTER_INTRINSIC |
39 | | #elif (defined __cplusplus && __cplusplus >= 201103L) |
| 39 | #elif (defined __cplusplus && HAVE_CXX11) |
40 | 40 | #define ZMQ_ATOMIC_COUNTER_CXX11 |
41 | 41 | #elif (defined __i386__ || defined __x86_64__) && defined __GNUC__ |
42 | 42 | #define ZMQ_ATOMIC_COUNTER_X86 |
diff --git src/atomic_ptr.hpp src/atomic_ptr.hpp
index 53b0d5d..011009e 100644
|
|
|
34 | 34 | #define ZMQ_ATOMIC_PTR_MUTEX |
35 | 35 | #elif defined ZMQ_HAVE_ATOMIC_INTRINSICS |
36 | 36 | #define ZMQ_ATOMIC_PTR_INTRINSIC |
37 | | #elif (defined __cplusplus && __cplusplus >= 201103L) |
| 37 | #elif (defined __cplusplus && HAVE_CXX11) |
38 | 38 | #define ZMQ_ATOMIC_PTR_CXX11 |
39 | 39 | #elif (defined __i386__ || defined __x86_64__) && defined __GNUC__ |
40 | 40 | #define ZMQ_ATOMIC_PTR_X86 |
diff --git src/blob.hpp src/blob.hpp
index 9e21718..97d7505 100644
|
|
|
34 | 34 | #include <string.h> |
35 | 35 | #include <algorithm> |
36 | 36 | |
37 | | #if __cplusplus >= 201103L || defined(_MSC_VER) && _MSC_VER >= 1700 |
| 37 | #if HAVE_CXX11 || defined(_MSC_VER) && _MSC_VER >= 1700 |
38 | 38 | #define ZMQ_HAS_MOVE_SEMANTICS |
39 | 39 | #define ZMQ_MAP_INSERT_OR_EMPLACE(k, v) emplace (k,v) |
40 | 40 | #define ZMQ_PUSH_OR_EMPLACE_BACK emplace_back |
diff --git src/condition_variable.hpp src/condition_variable.hpp
index 6452b78..c527b48 100644
|
|
|
46 | 46 | #define _SUPPORT_CONDITION_VARIABLE 0 |
47 | 47 | #endif |
48 | 48 | #else |
49 | | #if _cplusplus >= 201103L |
| 49 | #if HAVE_CXX11 |
50 | 50 | #define _SUPPORT_CONDITION_VARIABLE 1 |
51 | 51 | #else |
52 | 52 | #define _SUPPORT_CONDITION_VARIABLE 0 |