diff --git a/ChangeLog b/ChangeLog index 729512d3..e10e5f4e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2008-05-26 Frank Warmerdam + * tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused. + * libtiff/tif_win32.c: Replace custom Win32 memory api with generic POSIX one. No apparent value to use of GlobalAlloc() in the modern age. http://bugzilla.maptools.org/show_bug.cgi?id=1885 diff --git a/libtiff/tif_config.vc.h b/libtiff/tif_config.vc.h index fa16a198..bcd33c09 100644 --- a/libtiff/tif_config.vc.h +++ b/libtiff/tif_config.vc.h @@ -29,9 +29,6 @@ /* The size of a `int', as computed by sizeof. */ #define SIZEOF_INT 4 -/* The size of a `long', as computed by sizeof. */ -#define SIZEOF_LONG 4 - /* Set the native cpu bit order */ #define HOST_FILLORDER FILLORDER_LSB2MSB diff --git a/libtiff/tif_config.wince.h b/libtiff/tif_config.wince.h index a434383f..63b34604 100644 --- a/libtiff/tif_config.wince.h +++ b/libtiff/tif_config.wince.h @@ -1,4 +1,4 @@ -/* $Id: tif_config.wince.h,v 1.1 2007-01-15 18:40:39 mloskot Exp $ */ +/* $Id: tif_config.wince.h,v 1.2 2008-05-26 19:05:51 fwarmerdam Exp $ */ /* * TIFF library configuration header for Windows CE platform. @@ -46,9 +46,6 @@ /* The size of a `int', as computed by sizeof. */ #define SIZEOF_INT 4 -/* The size of a `long', as computed by sizeof. */ -#define SIZEOF_LONG 4 - /* Set the native cpu bit order */ #define HOST_FILLORDER FILLORDER_LSB2MSB diff --git a/libtiff/tiffconf.vc.h b/libtiff/tiffconf.vc.h index 66dfb42a..7c90c316 100644 --- a/libtiff/tiffconf.vc.h +++ b/libtiff/tiffconf.vc.h @@ -19,9 +19,6 @@ /* The size of a `int', as computed by sizeof. */ #define SIZEOF_INT 4 -/* The size of a `long', as computed by sizeof. */ -#define SIZEOF_LONG 4 - /* Signed 8-bit type */ #define TIFF_INT8_T signed char diff --git a/libtiff/tiffconf.wince.h b/libtiff/tiffconf.wince.h index c2d00d7e..9c966499 100644 --- a/libtiff/tiffconf.wince.h +++ b/libtiff/tiffconf.wince.h @@ -1,4 +1,4 @@ -/* $Id: tiffconf.wince.h,v 1.1 2007-01-15 18:40:39 mloskot Exp $ */ +/* $Id: tiffconf.wince.h,v 1.2 2008-05-26 19:05:51 fwarmerdam Exp $ */ /* * Windows CE platform tiffconf.wince.h @@ -39,9 +39,6 @@ /* The size of a `int', as computed by sizeof. */ #define SIZEOF_INT 4 -/* The size of a `long', as computed by sizeof. */ -#define SIZEOF_LONG 4 - /* Compatibility stuff. */ /* Define as 0 or 1 according to the floating point format suported by the