mirror of https://github.com/grpc/grpc.git
[Build] tests: fix compilation on older macOS: add port_platform.h (to pull in __STDC_FORMAT_MACROS define) (#32159)
Some versions of MacOS (as well as some `glibc`-based platforms) require `__STDC_FORMAT_MACROS` to be defined prior to including `<cinttypes>` or `<inttypes.h>`, otherwise build fails with undeclared `PRIdMAX`, `PRIdPTR` etc. See note here: https://en.cppreference.com/w/cpp/types/integer label: (release notes: no)pull/34133/head
parent
ffbd3f89b1
commit
a79b788ba2
2 changed files with 36 additions and 0 deletions
Loading…
Reference in new issue