diff options
| author | Michael Forney <mforney@mforney.org> | 2019-06-15 18:21:16 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2019-06-15 18:21:16 -0700 |
| commit | 5f74aa5e75a0442b86a26bcec9387af706a579f7 (patch) | |
| tree | 0d2d0540548a0cc755784bcd404784cd48f256dd /pkg/unzip/patch | |
| parent | 52b1cb8097da659fc1fd84cb4d2e6868d8abee10 (diff) | |
unzip: Use `long long` with C99 compilers
Diffstat (limited to 'pkg/unzip/patch')
| -rw-r--r-- | pkg/unzip/patch/0022-Use-long-long-with-C99-compilers.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkg/unzip/patch/0022-Use-long-long-with-C99-compilers.patch b/pkg/unzip/patch/0022-Use-long-long-with-C99-compilers.patch new file mode 100644 index 00000000..3fdd0295 --- /dev/null +++ b/pkg/unzip/patch/0022-Use-long-long-with-C99-compilers.patch @@ -0,0 +1,25 @@ +From f731106313a5edc37b5cbef93da6be855f24c238 Mon Sep 17 00:00:00 2001 +From: Michael Forney <mforney@mforney.org> +Date: Sat, 15 Jun 2019 18:16:56 -0700 +Subject: [PATCH] Use `long long` with C99 compilers + +--- + unzpriv.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/unzpriv.h b/unzpriv.h +index dc9eff5..8f18b87 100644 +--- a/unzpriv.h ++++ b/unzpriv.h +@@ -1904,7 +1904,7 @@ + + #ifdef ZIP64_SUPPORT + # ifndef Z_UINT8_DEFINED +-# if (defined(__GNUC__) || defined(__hpux) || defined(__SUNPRO_C)) ++# if (defined(__GNUC__) || defined(__hpux) || defined(__SUNPRO_C) || __STDC_VERSION__ > 199901L) + typedef unsigned long long z_uint8; + # else + typedef unsigned __int64 z_uint8; +-- +2.20.1 + |
