Welcome to mirror list, hosted at ThFree Co, Russian Federation.

patch-tiffconf.diff « tiff « patches « packages - github.com/mono/bockbuild.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: dda84d7f813702e64fb6ba72a929d5567c53d29f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- libtiff/tiffconf.h.orig	2019-08-29 15:37:19.000000000 +0200
+++ libtiff/tiffconf.h	2019-08-29 15:38:25.000000000 +0200
@@ -15,7 +15,11 @@
 #define TIFF_INT32_T signed int
 
 /* Signed 64-bit type */
+#ifdef __LP64__
 #define TIFF_INT64_T signed long
+#else
+#define TIFF_INT64_T signed long long
+#endif
 
 /* Signed 8-bit type */
 #define TIFF_INT8_T signed char
@@ -27,7 +31,11 @@
 #define TIFF_UINT32_T unsigned int
 
 /* Unsigned 64-bit type */
+#ifdef __LP64__
 #define TIFF_UINT64_T unsigned long
+#else
+#define TIFF_UINT64_T unsigned long long
+#endif
 
 /* Unsigned 8-bit type */
 #define TIFF_UINT8_T unsigned char