diff options
Diffstat (limited to 'upb/port_def.inc')
-rw-r--r-- | upb/port_def.inc | 4 |
1 files changed, 4 insertions, 0 deletions
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 |