diff --git a/ChangeLog b/ChangeLog index 15538446..23912a3c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-08-09 Frank Warmerdam + + * libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__ + when checking for 64 bit architectures as per bugzilla bug 67. + 2001-07-27 Frank Warmerdam * man/Makefile.in: add TIFFClientOpen link as per debian submitted diff --git a/libtiff/tif_fax3.c b/libtiff/tif_fax3.c index dbe3868a..af6d53d3 100644 --- a/libtiff/tif_fax3.c +++ b/libtiff/tif_fax3.c @@ -1,4 +1,4 @@ -/* $Header: /cvs/maptools/cvsroot/libtiff/libtiff/tif_fax3.c,v 1.13 2001-01-23 14:45:58 warmerda Exp $ */ +/* $Header: /cvs/maptools/cvsroot/libtiff/libtiff/tif_fax3.c,v 1.14 2001-08-10 02:37:52 warmerda Exp $ */ /* * Copyright (c) 1990-1997 Sam Leffler @@ -321,7 +321,7 @@ Fax3Decode2D(TIFF* tif, tidata_t buf, tsize_t occ, tsample_t s) * this is <8 bytes. We optimize the code here to reflect the * machine characteristics. */ -#if defined(__alpha) || _MIPS_SZLONG == 64 +#if defined(__alpha) || _MIPS_SZLONG == 64 || defined(__LP64__) #define FILL(n, cp) \ switch (n) { \ case 15:(cp)[14] = 0xff; case 14:(cp)[13] = 0xff; case 13: (cp)[12] = 0xff;\ diff --git a/libtiff/tiff.h b/libtiff/tiff.h index 1495f3c5..e1a6ce17 100644 --- a/libtiff/tiff.h +++ b/libtiff/tiff.h @@ -1,4 +1,4 @@ -/* $Header: /cvs/maptools/cvsroot/libtiff/libtiff/tiff.h,v 1.7 2001-04-03 04:00:23 warmerda Exp $ */ +/* $Header: /cvs/maptools/cvsroot/libtiff/libtiff/tiff.h,v 1.8 2001-08-10 02:37:52 warmerda Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler @@ -79,7 +79,7 @@ typedef char int8; typedef unsigned char uint8; typedef short int16; typedef unsigned short uint16; /* sizeof (uint16) must == 2 */ -#if defined(__alpha) || (defined(_MIPS_SZLONG) && _MIPS_SZLONG == 64) +#if defined(__alpha) || (defined(_MIPS_SZLONG) && _MIPS_SZLONG == 64) || defined(__LP64__) typedef int int32; typedef unsigned int uint32; /* sizeof (uint32) must == 4 */ #else