ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/tifftypes.h
(Generate patch)

Comparing ray/src/common/tifftypes.h (file contents):
Revision 3.2 by greg, Wed Oct 27 23:23:47 2004 UTC vs.
Revision 3.3 by greg, Sun May 11 04:55:01 2008 UTC

# Line 9 | Line 9
9   * 16-bit quantities    int16/uint16
10   * 32-bit quantities    int32/uint32
11   */
12 + #ifndef HAVE_INT8
13   #ifdef __STDC__
14   typedef signed char int8;       /* NB: non-ANSI compilers may not grok */
15   #else
16   typedef char int8;
17   #endif
18   typedef unsigned char uint8;
19 + #define HAVE_INT8
20 + #endif
21 + #ifndef HAVE_INT16
22   typedef short int16;
23   typedef unsigned short uint16;  /* sizeof (uint16) must == 2 */
24 + #define HAVE_INT16
25 + #endif
26 + #ifndef HAVE_INT32
27   #if defined(__alpha) || (defined(_MIPS_SZLONG) && _MIPS_SZLONG == 64) || defined(__LP64__) || defined(__x86_64)
28   typedef int int32;
29   typedef unsigned int uint32;    /* sizeof (uint32) must == 4 */
30   #else
31   typedef long int32;
32   typedef unsigned long uint32;   /* sizeof (uint32) must == 4 */
33 + #endif
34 + #define HAVE_INT32
35   #endif
36   #endif /* _TIFF_DATA_TYPEDEFS_ */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines