0
0
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:
Luca Boccassi 2019-07-16 18:15:47 +01:00
parent efd7188760
commit 7262701876
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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