mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-05-21 13:23:33 +02:00
Problem: Build error with clang
Solution: Some compilers incorrectly define __GNUC__, added workaround for clang and icc.
This commit is contained in:
parent
b2fa1192bd
commit
34ea5b7805
3
zmq.hpp
3
zmq.hpp
@ -124,7 +124,8 @@
|
|||||||
#define ZMQ_DELETED_FUNCTION
|
#define ZMQ_DELETED_FUNCTION
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(ZMQ_CPP11) && defined(__GNUC__) && __GNUC__ < 5
|
#if defined(ZMQ_CPP11) && !defined(__llvm__) && !defined(__INTEL_COMPILER) \
|
||||||
|
&& defined(__GNUC__) && __GNUC__ < 5
|
||||||
#define ZMQ_CPP11_PARTIAL
|
#define ZMQ_CPP11_PARTIAL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user