forked from seikichi/tiff.js
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tiff.h.patch
49 lines (37 loc) · 1020 Bytes
/
tiff.h.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
*** libtiff/tiff.h 2012-08-20 01:56:35.000000000 +0900
--- libtiff.mod/tiff.h 2013-10-03 00:24:36.899253046 +0900
***************
*** 28,33 ****
--- 28,34 ----
#define _TIFF_
#include "tiffconf.h"
+ #include <stdint.h>
/*
* Tag Image File Format (TIFF)
***************
*** 65,81 ****
* strings unsigned char*
*/
! typedef TIFF_INT8_T int8;
! typedef TIFF_UINT8_T uint8;
! typedef TIFF_INT16_T int16;
! typedef TIFF_UINT16_T uint16;
! typedef TIFF_INT32_T int32;
! typedef TIFF_UINT32_T uint32;
! typedef TIFF_INT64_T int64;
! typedef TIFF_UINT64_T uint64;
/*
* Some types as promoted in a variable argument list
--- 66,82 ----
* strings unsigned char*
*/
! typedef int8_t int8;
! typedef uint8_t uint8;
! typedef int16_t int16;
! typedef uint16_t uint16;
! typedef int32_t int32;
! typedef uint32_t uint32;
! typedef int64_t int64;
! typedef uint64_t uint64;
/*
* Some types as promoted in a variable argument list