]>
Commit | Line | Data |
---|---|---|
afb37e8b | 1 | --- chmlib-0.36/src/chm_lib.c.orig 2005-09-09 14:42:27.000000000 +0200 |
2 | +++ chmlib-0.36/src/chm_lib.c 2005-09-19 14:26:33.000000000 +0200 | |
3 | @@ -160,14 +160,15 @@ | |
60f85fc8 JB |
4 | /* Sparc */ |
5 | /* MIPS */ | |
c5f833be | 6 | /* PPC */ |
7 | -#elif __i386__ || __sun || __sgi || __ppc__ | |
8 | +#elif __i386__ || __sun || __sgi || __ppc__ || __linux__ | |
60f85fc8 JB |
9 | +#include <stdint.h> |
10 | typedef unsigned char UChar; | |
11 | -typedef short Int16; | |
12 | -typedef unsigned short UInt16; | |
13 | -typedef long Int32; | |
14 | -typedef unsigned long UInt32; | |
15 | -typedef long long Int64; | |
16 | -typedef unsigned long long UInt64; | |
17 | +typedef int16_t Int16; | |
18 | +typedef uint16_t UInt16; | |
19 | +typedef int32_t Int32; | |
20 | +typedef uint32_t UInt32; | |
21 | +typedef int64_t Int64; | |
22 | +typedef uint64_t UInt64; | |
60f85fc8 | 23 | |
afb37e8b | 24 | /* x86-64 */ |
25 | /* Note that these may be appropriate for other 64-bit machines. */ |