Copy platform.hpp into src directory in cmake build.
Merge branch 'master' of https://github.com/zeromq/libzmq
Revert "Copy platform.hpp into src directory in cmake build."

This reverts commit 11b699e73cbda47ff450554ebca2385d20a0b75a.
Merge branch 'master' of https://github.com/zeromq/libzmq
Call flush after writing the identity message
Merge pull request #684 from hurtonm/master

Call flush after writing the identity message
Build/test errors on OS/X with clang++
curve_keygen needed assert.h
Merge pull request #685 from hintjens/master

Build/test errors on OS/X with clang++
Added test case for issue 566

* Tests dealer-to-router connection 100 times
* This was failing in ZMQ v4.0.0 RC1
Merge pull request #686 from hintjens/master

Added test case for issue 566
Updated CMake project for test_issue_566
Merge pull request #687 from hintjens/master

Updated CMake project for test_issue_566
Add '-lssp' linker flag for Solaris. Check for libraries after host specific setup.
Disable compiler warning for Solaris
Merge pull request #688 from mattconnolly/master

This pull requests fixes building on SmartOS and possibly other Solaris-like systems
declare z85_encode / decode in zmq_utils

they are used by curve_keygen, but not available
include missing platform.hpp in curve_keygen

it was excluded, so HAVE_SODIUM would never be defined,
leading to curve_keygen always reporting "recompile with libsodium"
Merge pull request #689 from minrk/curve_keygen

include missing platform.hpp in curve_keygen
config for libsodium in alternate path, using CPP flags for both C and C++ sources.