From ad905b08f5f93b497311290fb4df4059ccd083eb Mon Sep 17 00:00:00 2001 From: Josh Haberman Date: Sun, 17 Feb 2019 20:36:26 -0800 Subject: Fixed amalgamation to properly include stdint.h first for UPB_SIZE(). --- upb/port_def.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'upb/port_def.inc') diff --git a/upb/port_def.inc b/upb/port_def.inc index 33ff78c..fe975a0 100644 --- a/upb/port_def.inc +++ b/upb/port_def.inc @@ -1,4 +1,8 @@ +#ifndef UINTPTR_MAX +#error must include stdint.h first +#endif + #if UINTPTR_MAX == 0xffffffff #define UPB_SIZE(size32, size64) size32 #else -- cgit v1.2.3