From 124e04659cc3a1ad5703f0157632030aee556955 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Fri, 1 Sep 2017 10:15:32 +0100 Subject: [PATCH] Problem: ZMQ_HAVE_O_CLOEXEC not defined by CMake Solution: add it to CMake's platform.hpp.in --- builds/cmake/platform.hpp.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/builds/cmake/platform.hpp.in b/builds/cmake/platform.hpp.in index 6a0e5e1c..7437bb98 100644 --- a/builds/cmake/platform.hpp.in +++ b/builds/cmake/platform.hpp.in @@ -24,6 +24,8 @@ #cmakedefine ZMQ_HAVE_SO_PEERCRED #cmakedefine ZMQ_HAVE_LOCAL_PEERCRED +#cmakedefine ZMQ_HAVE_O_CLOEXEC + #cmakedefine ZMQ_HAVE_SOCK_CLOEXEC #cmakedefine ZMQ_HAVE_SO_KEEPALIVE #cmakedefine ZMQ_HAVE_TCP_KEEPCNT