mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-19 18:03:50 +00:00
Problem: build on centos6/ubuntu12 still broken
Solution: move the definition of __STDC_LIMIT_MACROS somewhere the test actually uses
This commit is contained in:
parent
efd7188760
commit
7262701876
@ -69,8 +69,6 @@ typedef unsigned __int64 uint64_t;
|
|||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
// To define SIZE_MAX with older compilers
|
|
||||||
#define __STDC_LIMIT_MACROS
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -29,6 +29,9 @@
|
|||||||
|
|
||||||
// TODO remove this workaround for handling libsodium/tweetnacl
|
// TODO remove this workaround for handling libsodium/tweetnacl
|
||||||
|
|
||||||
|
// To define SIZE_MAX with older compilers
|
||||||
|
#define __STDC_LIMIT_MACROS
|
||||||
|
|
||||||
#if defined ZMQ_CUSTOM_PLATFORM_HPP
|
#if defined ZMQ_CUSTOM_PLATFORM_HPP
|
||||||
#include "platform.hpp"
|
#include "platform.hpp"
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user