mirror of
				https://github.com/zeromq/libzmq.git
				synced 2025-10-29 20:59:47 +01:00 
			
		
		
		
	Problem: support of std::atomic is incomplete in VS <2015
Solution: use std::atomic only from VS 2015
This commit is contained in:
		| @@ -37,7 +37,7 @@ | ||||
| #elif defined ZMQ_HAVE_ATOMIC_INTRINSICS | ||||
| #define ZMQ_ATOMIC_COUNTER_INTRINSIC | ||||
| #elif (defined __cplusplus && __cplusplus >= 201103L)                          \ | ||||
|        || (defined _MSC_VER && _MSC_VER >= 1700) | ||||
|   || (defined _MSC_VER && _MSC_VER >= 1900) | ||||
| #define ZMQ_ATOMIC_COUNTER_CXX11 | ||||
| #elif (defined __i386__ || defined __x86_64__) && defined __GNUC__ | ||||
| #define ZMQ_ATOMIC_COUNTER_X86 | ||||
|   | ||||
| @@ -34,8 +34,8 @@ | ||||
| #define ZMQ_ATOMIC_PTR_MUTEX | ||||
| #elif defined ZMQ_HAVE_ATOMIC_INTRINSICS | ||||
| #define ZMQ_ATOMIC_PTR_INTRINSIC | ||||
| #elif ((defined __cplusplus && __cplusplus >= 201103L)                         \ | ||||
|        || (defined _MSC_VER && _MSC_VER >= 1700)) | ||||
| #elif (defined __cplusplus && __cplusplus >= 201103L)                          \ | ||||
|   || (defined _MSC_VER && _MSC_VER >= 1900) | ||||
| #define ZMQ_ATOMIC_PTR_CXX11 | ||||
| #elif (defined __i386__ || defined __x86_64__) && defined __GNUC__ | ||||
| #define ZMQ_ATOMIC_PTR_X86 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Simon Giesecke
					Simon Giesecke