[LIBTIFF] Restore ROS-diff that I thought was no longer needed because of PCH. CORE...
[reactos.git] / sdk / include / reactos / libs / libtiff / tif_config.h
1 #ifndef _TIF_CONFIG_H_
2 #define _TIF_CONFIG_H_
3
4 /* Define to 1 if you have the <assert.h> header file. */
5 #define HAVE_ASSERT_H 1
6
7 /* Define to 1 if you have the <fcntl.h> header file. */
8 #define HAVE_FCNTL_H 1
9
10 /* Define as 0 or 1 according to the floating point format suported by the
11 machine */
12 #define HAVE_IEEEFP 1
13
14 /* Define to 1 if you have the `jbg_newlen' function. */
15 #define HAVE_JBG_NEWLEN 1
16
17 /* Define to 1 if you have the <string.h> header file. */
18 #define HAVE_STRING_H 1
19
20 /* Define to 1 if you have the <sys/types.h> header file. */
21 #define HAVE_SYS_TYPES_H 1
22
23 /* Define to 1 if you have the <io.h> header file. */
24 #define HAVE_IO_H 1
25
26 /* Define to 1 if you have the <search.h> header file. */
27 #define HAVE_SEARCH_H 1
28
29 /* Define to 1 if you have the `setmode' function. */
30 #define HAVE_SETMODE 1
31
32 /* Define to 1 if you have the declaration of `optarg', and to 0 if you don't. */
33 #define HAVE_DECL_OPTARG 0
34
35 /* The size of a `int', as computed by sizeof. */
36 #define SIZEOF_INT 4
37
38 /* The size of a `long', as computed by sizeof. */
39 #define SIZEOF_LONG 4
40
41 /* Signed 64-bit type formatter */
42 #define TIFF_INT64_FORMAT "%I64d"
43
44 /* Signed 64-bit type */
45 #ifdef __GNUC__
46 #define TIFF_INT64_T signed long long
47 #else
48 #define TIFF_INT64_T signed __int64
49 #endif
50
51 /* Unsigned 64-bit type formatter */
52 #define TIFF_UINT64_FORMAT "%I64u"
53
54 /* Unsigned 64-bit type */
55 #ifdef __GNUC__
56 #define TIFF_UINT64_T unsigned long long
57 #else
58 #define TIFF_UINT64_T unsigned __int64
59 #endif
60
61 #if _WIN64
62 /*
63 Windows 64-bit build
64 */
65
66 /* Pointer difference type */
67 # define TIFF_PTRDIFF_T TIFF_INT64_T
68
69 /* The size of `size_t', as computed by sizeof. */
70 # define SIZEOF_SIZE_T 8
71
72 /* Size type formatter */
73 # define TIFF_SIZE_FORMAT TIFF_INT64_FORMAT
74
75 /* Unsigned size type */
76 # define TIFF_SIZE_T TIFF_UINT64_T
77
78 /* Signed size type formatter */
79 # define TIFF_SSIZE_FORMAT TIFF_INT64_FORMAT
80
81 /* Signed size type */
82 # define TIFF_SSIZE_T TIFF_INT64_T
83
84 #else
85 /*
86 Windows 32-bit build
87 */
88
89 /* Pointer difference type */
90 # define TIFF_PTRDIFF_T signed int
91
92 /* The size of `size_t', as computed by sizeof. */
93 # define SIZEOF_SIZE_T 4
94
95 /* Size type formatter */
96 # define TIFF_SIZE_FORMAT "%u"
97
98 /* Size type formatter */
99 # define TIFF_SIZE_FORMAT "%u"
100
101 /* Unsigned size type */
102 # define TIFF_SIZE_T unsigned int
103
104 /* Signed size type formatter */
105 # define TIFF_SSIZE_FORMAT "%d"
106
107 /* Signed size type */
108 # define TIFF_SSIZE_T signed int
109
110 #endif
111
112 /* Set the native cpu bit order */
113 #define HOST_FILLORDER FILLORDER_LSB2MSB
114
115 #define HAVE__SNPRINTF 1
116 #define snprintf _snprintf
117
118 /* Define to 1 if your processor stores words with the most significant byte
119 first (like Motorola and SPARC, unlike Intel and VAX). */
120 /* #undef WORDS_BIGENDIAN */
121
122 /* Define to `__inline__' or `__inline' if that's what the C compiler
123 calls it, or to nothing if 'inline' is not supported under any name. */
124 #ifndef __cplusplus
125 # ifndef inline
126 # define inline __inline
127 # endif
128 #endif
129
130 #define lfind _lfind
131
132 #ifdef _MSC_VER
133 #pragma warning(disable : 4996) /* function deprecation warnings */
134 #endif
135
136 #endif /* _TIF_CONFIG_H_ */
137 /*
138 * Local Variables:
139 * mode: c
140 * c-basic-offset: 8
141 * fill-column: 78
142 * End:
143 */