76389be
diff -Naupr advancecomp-1.14.orig/7z/Portable.h advancecomp-1.14/7z/Portable.h
76389be
--- advancecomp-1.14.orig/7z/Portable.h	2003-02-10 20:25:16.000000000 +0100
76389be
+++ advancecomp-1.14/7z/Portable.h	2005-05-27 10:24:22.000000000 +0200
76389be
@@ -2,6 +2,7 @@
76389be
 #define __PORTABLE_H
76389be
 
76389be
 #include <string.h>
76389be
+#include <stdint.h>
76389be
 
76389be
 typedef signed char INT8;
76389be
 typedef unsigned char UINT8;
76389be
@@ -12,11 +13,11 @@ typedef unsigned long UINT32;
76389be
 typedef long long INT64;
76389be
 typedef unsigned long long UINT64;
76389be
 
76389be
-typedef UINT8 BYTE;
76389be
-typedef UINT16 WORD;
76389be
-typedef UINT32 DWORD;
76389be
+typedef uint8_t BYTE;
76389be
+typedef uint16_t WORD;
76389be
+typedef uint32_t DWORD;
76389be
 
76389be
-typedef unsigned UINT_PTR;
76389be
+typedef uintptr_t UINT_PTR;
76389be
 
76389be
 typedef int BOOL;
76389be
 #define FALSE 0