libsm: update to 1.2.5
[oi-userland.git] / components / archiver / p7zip / patches / 02-use-stdint-h.patch
blobddd11415a8d99038b693dbdf68747cfdd1eb43c1
1 --- p7zip-17.05/C/hashes/hash.h.old 2024-11-16 12:00:39.359638828 -0500
2 +++ p7zip-17.05/C/hashes/hash.h 2024-11-16 18:01:43.114402159 -0500
3 @@ -42,17 +42,17 @@
5 #include "../7zTypes.h"
7 -#ifndef _UINT32_T_DECLARED
8 -typedef UInt32 uint32_t;
9 -#define _UINT32_T_DECLARED
10 -#endif
11 +// #ifndef _UINT32_T_DECLARED
12 +// typedef UInt32 uint32_t;
13 +// #define _UINT32_T_DECLARED
14 +// #endif
16 -#ifndef _UINT64_T_DECLARED
17 -typedef UInt64 uint64_t;
18 -#define _UINT64_T_DECLARED
19 -#endif
20 +// #ifndef _UINT64_T_DECLARED
21 +// typedef UInt64 uint64_t;
22 +// #define _UINT64_T_DECLARED
23 +// #endif
25 -//#include <stdint.h>
26 +#include <stdint.h>
28 #ifndef min
29 #define min(a,b) (((a)>(b))?(b):(a))