alicelinux

A lightweight musl + clang/llvm + libressl + busybox distro
git clone https://codeberg.org/emmett1/alicelinux
Log | Files | Refs | README | LICENSE

fix-uintxx_t-redefined.patch (450B)


      1 diff --git a/C/hashes/hash.h b/C/hashes/hash.h
      2 index 3abf275..5084b25 100644
      3 --- a/C/hashes/hash.h
      4 +++ b/C/hashes/hash.h
      5 @@ -42,17 +42,7 @@
      6  
      7  #include "../7zTypes.h"
      8  
      9 -#ifndef _UINT32_T_DECLARED
     10 -typedef UInt32 uint32_t;
     11 -#define _UINT32_T_DECLARED
     12 -#endif
     13 -
     14 -#ifndef _UINT64_T_DECLARED
     15 -typedef UInt64 uint64_t;
     16 -#define _UINT64_T_DECLARED
     17 -#endif
     18 -
     19 -//#include <stdint.h>
     20 +#include <stdint.h>
     21  
     22  #ifndef min
     23  #define min(a,b) (((a)>(b))?(b):(a))