mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-06 08:41:15 +01:00
Problem: build broken with older compilers
Solution: define __STDC_LIMIT_MACROS before including stdint.h so that SIZE_MAX is defined
This commit is contained in:
parent
021c6a706b
commit
38c31154d0
@ -69,6 +69,8 @@ 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
|
||||||
|
Loading…
Reference in New Issue
Block a user