Use _TIFF_DATA_TYPEDEFS_ guardian to switch off defining int8/uint8/...

etc. types. As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=607
This commit is contained in:
Andrey Kiselev 2004-09-10 10:02:03 +00:00
parent 8d9d8a5d0c
commit 7b282e786d

View File

@ -1,4 +1,4 @@
/* $Id: tiff.h,v 1.23 2004-06-06 10:20:12 dron Exp $ */ /* $Id: tiff.h,v 1.24 2004-09-10 10:02:03 dron Exp $ */
/* /*
* Copyright (c) 1988-1997 Sam Leffler * Copyright (c) 1988-1997 Sam Leffler
@ -50,6 +50,9 @@
* 32-bit quantities int32/uint32 * 32-bit quantities int32/uint32
* strings unsigned char* * strings unsigned char*
*/ */
#ifndef _TIFF_DATA_TYPEDEFS_
#define _TIFF_DATA_TYPEDEFS_
#ifndef HAVE_INT8 #ifndef HAVE_INT8
# ifdef __STDC__ # ifdef __STDC__
typedef signed char int8; /* NB: non-ANSI compilers may not grok */ typedef signed char int8; /* NB: non-ANSI compilers may not grok */
@ -75,6 +78,8 @@ typedef int int32;
typedef unsigned int uint32; /* sizeof (uint32) must == 4 */ typedef unsigned int uint32; /* sizeof (uint32) must == 4 */
#endif #endif
#endif /* _TIFF_DATA_TYPEDEFS_ */
/* For TIFFReassignTagToIgnore */ /* For TIFFReassignTagToIgnore */
enum TIFFIgnoreSense /* IGNORE tag table */ enum TIFFIgnoreSense /* IGNORE tag table */
{ {