remove SIZEOF_LONG macro as it is unused

This commit is contained in:
Frank Warmerdam 2008-05-26 19:05:51 +00:00
parent 27ebd800ef
commit dfb5da9ad4
5 changed files with 4 additions and 14 deletions

View File

@ -1,5 +1,7 @@
2008-05-26 Frank Warmerdam <warmerdam@pobox.com>
* 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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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