blob: c0b809b2d9dba89603652647d15f58e5cf183f39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- a/src/chm_lib.c
+++ b/src/chm_lib.c
@@ -149,6 +149,17 @@ typedef unsigned __int32 UInt32;
typedef __int64 Int64;
typedef unsigned __int64 UInt64;
+/* Linux: use C standard types */
+#elif defined(__linux__)
+#include <stdint.h>
+typedef unsigned char UChar;
+typedef int16_t Int16;
+typedef uint16_t UInt16;
+typedef int32_t Int32;
+typedef uint32_t UInt32;
+typedef int64_t Int64;
+typedef uint64_t UInt64;
+
/* I386, 32-bit, non-Windows */
/* Sparc */
/* MIPS */
|