repaired build on mac after libtiff update
This commit is contained in:
8
3rdparty/include/tiffconf.h
vendored
8
3rdparty/include/tiffconf.h
vendored
@@ -26,13 +26,21 @@
|
||||
#define TIFF_INT64_FORMAT "%I64d"
|
||||
|
||||
/* Signed 64-bit type */
|
||||
#ifdef _MSC_VER
|
||||
#define TIFF_INT64_T signed __int64
|
||||
#else
|
||||
#define TIFF_INT64_T long long
|
||||
#endif
|
||||
|
||||
/* Unsigned 64-bit type formatter */
|
||||
#define TIFF_UINT64_FORMAT "%I64u"
|
||||
|
||||
/* Unsigned 64-bit type */
|
||||
#ifdef _MSC_VER
|
||||
#define TIFF_UINT64_T unsigned __int64
|
||||
#else
|
||||
#define TIFF_UINT64_T unsigned long long
|
||||
#endif
|
||||
|
||||
/* Compatibility stuff. */
|
||||
|
||||
|
2
3rdparty/include/tiffio.h
vendored
2
3rdparty/include/tiffio.h
vendored
@@ -64,7 +64,7 @@ typedef uint16 tsample_t; /* sample number */
|
||||
typedef uint32 tstrile_t; /* strip or tile number */
|
||||
typedef tstrile_t tstrip_t; /* strip number */
|
||||
typedef tstrile_t ttile_t; /* tile number */
|
||||
typedef int32 tsize_t; /* i/o size in bytes */
|
||||
typedef size_t tsize_t; /* i/o size in bytes */
|
||||
typedef void* tdata_t; /* image data ref */
|
||||
typedef uint32 toff_t; /* file offset */
|
||||
|
||||
|
Reference in New Issue
Block a user