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