summaryrefslogtreecommitdiff
path: root/devel/chmlib/patches/patch-aa
blob: 10205fc4a2527734b0f063cb2c8de9ff17a1587d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-aa,v 1.6 2005/10/28 16:00:50 wiz Exp $

--- src/chm_lib.c.orig	2005-10-26 14:17:50.000000000 +0200
+++ src/chm_lib.c
@@ -182,8 +182,14 @@ typedef unsigned long           UInt64;
 
 #else
 
-/* yielding an error is preferable to yielding incorrect behavior */
-#error "Please define the sized types for your platform in chm_lib.c"
+typedef unsigned char           UChar;
+typedef int16_t                 Int16;
+typedef u_int16_t               UInt16;
+typedef int32_t                 Int32;
+typedef u_int32_t               UInt32;
+typedef int64_t                 Int64;
+typedef u_int64_t               UInt64;
+
 #endif
 
 /* GCC */