Correctly define ZMQ_DELETED_FUNCTION when using older clang compilers.

If you are using a version of clang that doesn't support cxx_deleted_functions
we need to define ZMQ_DELETED_FUNCTION to be empty.
This commit is contained in:
Robert Maynard 2013-01-09 10:19:11 -05:00
parent 127c255d65
commit a5174232d5

View File

@ -45,6 +45,8 @@
#if __has_feature(cxx_deleted_functions)
#define ZMQ_DELETED_FUNCTION = delete
#else
#define ZMQ_DELETED_FUNCTION
#endif
#elif defined(_MSC_VER) && (_MSC_VER >= 1600)
#define ZMQ_HAS_RVALUE_REFS