mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
add FreeBSD int types
hope this fix build on alpha Noted by: kris
This commit is contained in:
parent
8c86549169
commit
96ddcc31cc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=78570
20
misc/chmlib/files/patch-chm_lib.c
Normal file
20
misc/chmlib/files/patch-chm_lib.c
Normal file
@ -0,0 +1,20 @@
|
||||
--- chm_lib.c.orig Tue Apr 8 10:33:30 2003
|
||||
+++ chm_lib.c Tue Apr 8 10:40:56 2003
|
||||
@@ -139,6 +139,17 @@
|
||||
typedef __int64 Int64;
|
||||
typedef unsigned __int64 UInt64;
|
||||
|
||||
+/* FreeBSD */
|
||||
+#elif __FreeBSD__
|
||||
+#include <inttypes.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 */
|
Loading…
Reference in New Issue
Block a user