diff options
author | 2018-07-10 23:34:50 -0700 | |
---|---|---|
committer | 2018-07-10 23:36:12 -0700 | |
commit | 30f38d0e7deed375c1aeb2693ee6b2c571c99c55 (patch) | |
tree | ebec0fd72cfeac5b662ce18efb16629e6d22442a /src/main/java/com | |
parent | f600b693642b3ee2475c6222a0eebb25371c6ca6 (diff) |
[singlejar] Various portability fixes for MSVC
- MSVC does not have `errx` functions, so use `diag_errx` etc. instead.
- Fix format when trying to print `size_t`, use `%zu` so that the function will handle 32/64-bit `size_t` according to target system automatically.
- Adding/guarding a few includes for MSVC.
- MSVC does not have `ssize_t`, so replace it with `ptrdiff_t`
#2241
/cc @laszlocsomor
Closes #5499.
PiperOrigin-RevId: 204074420
Diffstat (limited to 'src/main/java/com')
0 files changed, 0 insertions, 0 deletions