logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

0025-Use-long-long-with-C99-compilers.patch (720B)


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