master hovercats/oakiss / pkg / unzip / patch / 0025-Use-long-long-with-C99-compilers.patch
 1From f731106313a5edc37b5cbef93da6be855f24c238 Mon Sep 17 00:00:00 2001
 2From: Michael Forney <mforney@mforney.org>
 3Date: Sat, 15 Jun 2019 18:16:56 -0700
 4Subject: [PATCH] Use `long long` with C99 compilers
 5
 6---
 7 unzpriv.h | 2 +-
 8 1 file changed, 1 insertion(+), 1 deletion(-)
 9
10diff --git a/unzpriv.h b/unzpriv.h
11index dc9eff5..8f18b87 100644
12--- a/unzpriv.h
13+++ b/unzpriv.h
14@@ -1904,7 +1904,7 @@
15 
16 #ifdef ZIP64_SUPPORT
17 # ifndef Z_UINT8_DEFINED
18-#   if (defined(__GNUC__) || defined(__hpux) || defined(__SUNPRO_C))
19+#   if (defined(__GNUC__) || defined(__hpux) || defined(__SUNPRO_C) || __STDC_VERSION__ > 199901L)
20   typedef unsigned long long    z_uint8;
21 #   else
22   typedef unsigned __int64      z_uint8;
23-- 
242.20.1
25