mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 10:52:56 +01:00
Problem: ZMQ_HAVE_O_CLOEXEC always disabled
Solution: Escape quotes in cmake test.
This commit is contained in:
parent
f1c72dc8e5
commit
83f54d90ad
@ -41,7 +41,7 @@ macro(zmq_check_o_cloexec)
|
||||
|
||||
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);
|
||||
}
|
||||
"
|
||||
|
Loading…
Reference in New Issue
Block a user