Merge pull request #2727 from fove-robin/fix-o-cloexec

Problem: ZMQ_HAVE_O_CLOEXEC always disabled
This commit is contained in:
Luca Boccassi 2017-09-01 09:39:39 +01:00 committed by GitHub
commit 28a4b9a969

View File

@ -41,7 +41,7 @@ macro(zmq_check_o_cloexec)
int main(int argc, char *argv []) int main(int argc, char *argv [])
{ {
int s = open ("/dev/null", O_CLOEXEC | O_RDONLY); int s = open (\"/dev/null\", O_CLOEXEC | O_RDONLY);
return (s == -1); return (s == -1);
} }
" "