Commit 55e8191a authored by Joe Eli McIlvain's avatar Joe Eli McIlvain

Merge pull request #1721 from c-rack/fix-issue-1720

Problem: build fails due to undefined INT_MAX
parents a40dd50d 5c9bd5f0
......@@ -63,6 +63,7 @@ struct iovec {
#include <string.h>
#include <stdlib.h>
#include <new>
#include <climits>
#include "proxy.hpp"
#include "socket_base.hpp"
......
......@@ -48,7 +48,6 @@ int main (void)
zmq_msg_t msg, rcv;
size_t big = 64 + (size_t) INT_MAX;
printf("Large msg: %u %llu %lu\n", INT_MAX, SIZE_MAX, big);
rc = zmq_msg_init_size (&msg, big);
assert (rc == 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment