]> git.pld-linux.org Git - packages/chmlib.git/blob - chmlib-morearchs.patch
- fixed build without installed chmlib-devel; release 2
[packages/chmlib.git] / chmlib-morearchs.patch
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 @@
4  /* Sparc        */
5  /* MIPS         */
6  /* PPC          */
7 -#elif __i386__ || __sun || __sgi || __ppc__
8 +#elif __i386__ || __sun || __sgi || __ppc__ || __linux__
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;
23  
24  /* x86-64 */
25  /* Note that these may be appropriate for other 64-bit machines. */
This page took 0.033119 seconds and 3 git commands to generate.