diff options
Diffstat (limited to 'repos/extra/p7zip/fix-uintxx_t-redefined.patch')
| -rw-r--r-- | repos/extra/p7zip/fix-uintxx_t-redefined.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/repos/extra/p7zip/fix-uintxx_t-redefined.patch b/repos/extra/p7zip/fix-uintxx_t-redefined.patch new file mode 100644 index 00000000..d5d802da --- /dev/null +++ b/repos/extra/p7zip/fix-uintxx_t-redefined.patch @@ -0,0 +1,23 @@ +diff --git a/C/hashes/hash.h b/C/hashes/hash.h +index 3abf275..5084b25 100644 +--- a/C/hashes/hash.h ++++ b/C/hashes/hash.h +@@ -42,17 +42,7 @@ + + #include "../7zTypes.h" + +-#ifndef _UINT32_T_DECLARED +-typedef UInt32 uint32_t; +-#define _UINT32_T_DECLARED +-#endif +- +-#ifndef _UINT64_T_DECLARED +-typedef UInt64 uint64_t; +-#define _UINT64_T_DECLARED +-#endif +- +-//#include <stdint.h> ++#include <stdint.h> + + #ifndef min + #define min(a,b) (((a)>(b))?(b):(a)) |