Skip to content

Commit bb63bb3

Browse files
[LIBTIFF] fix x64 regression (reactos#8830)
Fix x64 regression seen at https://reactos.org/testman/compare.php?ids=106703,106708,106714 due to reactos#8808 by reverting some changes CORE-18674
1 parent 82ef7e5 commit bb63bb3

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

sdk/include/reactos/libs/libtiff/tiffconf.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@
2828

2929
/* Signed 64-bit type */
3030
/* #undef TIFF_INT64_T */
31+
#ifdef __REACTOS__
32+
#ifdef __GNUC__
33+
#define TIFF_INT64_T signed long long
34+
#else
35+
#define TIFF_INT64_T signed __int64
36+
#endif
37+
#endif
3138

3239
/* Signed 8-bit type */
3340
/* #undef TIFF_INT8_T */
@@ -45,7 +52,11 @@
4552
/* #undef TIFF_UINT8_T */
4653

4754
/* Signed size type */
55+
#if defined(__REACTOS__) && defined(_WIN64)
56+
#define TIFF_SSIZE_T TIFF_INT64_T
57+
#else
4858
#define TIFF_SSIZE_T signed int
59+
#endif
4960

5061
/* Compatibility stuff. */
5162

0 commit comments

Comments
 (0)