upb: restore <stdint.h> to fix 32-bit Ruby and PHP

PiperOrigin-RevId: 559494810
pull/13675/head^2
Eric Salo 1 year ago committed by Copybara-Service
parent 00efe9fc1d
commit 823a12e809
  1. 7
      upb/port/def.inc

@ -68,8 +68,13 @@
#include <assert.h>
#include <setjmp.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#ifndef UINTPTR_MAX
Error, UINTPTR_MAX is undefined
#endif
#if UINTPTR_MAX == 0xffffffff
#define UPB_SIZE(size32, size64) size32
#else
@ -292,7 +297,7 @@
#define UPB_ASAN 1
#define UPB_ASAN_GUARD_SIZE 32
#ifdef __cplusplus
extern "C" {
extern "C" {
#endif
void __asan_poison_memory_region(void const volatile *addr, size_t size);
void __asan_unpoison_memory_region(void const volatile *addr, size_t size);

Loading…
Cancel
Save