Alexandre Julliard : tiff: Fix size_t type size detection on 64-bit.
Module: wine Branch: master Commit: 9011462be81d683610d2b824649068b35c58d13a URL: https://gitlab.winehq.org/wine/wine/-/commit/9011462be81d683610d2b824649068b... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue Nov 21 11:15:05 2023 +0100 tiff: Fix size_t type size detection on 64-bit. --- libs/tiff/libtiff/tif_config.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/tiff/libtiff/tif_config.h b/libs/tiff/libtiff/tif_config.h index 1cee0dac72c..f261bea3257 100644 --- a/libs/tiff/libtiff/tif_config.h +++ b/libs/tiff/libtiff/tif_config.h @@ -93,7 +93,11 @@ #define PACKAGE_URL "" /* The size of `size_t', as computed by sizeof. */ +#ifdef _WIN64 +#define SIZEOF_SIZE_T 8 +#else #define SIZEOF_SIZE_T 4 +#endif /* Default size of the strip in bytes (when strip chopping enabled) */ #define STRIP_SIZE_DEFAULT 8192
participants (1)
-
Alexandre Julliard