mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 10:52:56 +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
|
||||
|
||||
// To define SIZE_MAX with older compilers
|
||||
#define __STDC_LIMIT_MACROS
|
||||
#include <stdint.h>
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user