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
7 -#elif __i386__ || __sun || __sgi || __ppc__
8 +#elif __i386__ || __sun || __sgi || __ppc__ || __linux__
10 typedef unsigned char UChar;
12 -typedef unsigned short UInt16;
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;
25 /* Note that these may be appropriate for other 64-bit machines. */