mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-29 20:59:47 +01:00
Problem: ZMQ_HAVE_O_CLOEXEC always disabled
Solution: Escape quotes in cmake test.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
|||||||
Reference in New Issue
Block a user