Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/misc/chmlib/files/patch-chm_lib.c
16461 views
1
--- src/chm_lib.c.orig 2009-05-23 14:43:31 UTC
2
+++ src/chm_lib.c
3
@@ -149,6 +149,17 @@ typedef unsigned __int32 UInt32;
4
typedef __int64 Int64;
5
typedef unsigned __int64 UInt64;
6
7
+/* FreeBSD */
8
+#elif __FreeBSD__
9
+#include <inttypes.h>
10
+typedef unsigned char UChar;
11
+typedef int16_t Int16;
12
+typedef uint16_t UInt16;
13
+typedef int32_t Int32;
14
+typedef uint32_t UInt32;
15
+typedef int64_t Int64;
16
+typedef uint64_t UInt64;
17
+
18
/* I386, 32-bit, non-Windows */
19
/* Sparc */
20
/* MIPS */
21
22