From 657715ed754d69235aac62cd36f514f6dc65aab8 Mon Sep 17 00:00:00 2001 From: Reinhard Tartler Date: Sun, 10 May 2020 15:21:30 -0400 Subject: New upstream version 0.13~~git20200326.g8e8b63c --- lib/common/BoxPlatform.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/common/BoxPlatform.h') diff --git a/lib/common/BoxPlatform.h b/lib/common/BoxPlatform.h index f7c74bfc..c86573f6 100644 --- a/lib/common/BoxPlatform.h +++ b/lib/common/BoxPlatform.h @@ -48,6 +48,10 @@ #include #endif +// Need to define this before including stdint.h to ensure access to UINTPTR_MAX in C99: +// https://stackoverflow.com/questions/986426/what-do-stdc-limit-macros-and-stdc-constant-macros-mean +#define __STDC_LIMIT_MACROS + #ifdef HAVE_INTTYPES_H #include #else -- cgit v1.2.3