mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-26 23:01:04 +08: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
|
||||
|
||||
// To define SIZE_MAX with older compilers
|
||||
#define __STDC_LIMIT_MACROS
|
||||
#include <stdint.h>
|
||||
|
||||
#endif
|
||||
|
@ -29,6 +29,9 @@
|
||||
|
||||
// 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
|
||||
#include "platform.hpp"
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user