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:
Luca Boccassi 2019-07-16 17:34:58 +01:00
parent 021c6a706b
commit 38c31154d0

View File

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