]> git.saurik.com Git - wxWidgets.git/blob - src/tiff/libtiff/tif_config.h
b8fa9c3ad4bb927d189fccf5ed171757ebf06339
[wxWidgets.git] / src / tiff / libtiff / tif_config.h
1 #ifdef __APPLE__
2
3 /* Define to 1 if you have the <assert.h> header file. */
4 #define HAVE_ASSERT_H 1
5
6 /* Define to 1 if you have the <fcntl.h> header file. */
7 #define HAVE_FCNTL_H 1
8
9 /* Define as 0 or 1 according to the floating point format suported by the
10 machine */
11 #define HAVE_IEEEFP 1
12
13 /* Define to 1 if you have the `jbg_newlen' function. */
14 #define HAVE_JBG_NEWLEN 1
15
16 /* Define to 1 if you have the <string.h> header file. */
17 #define HAVE_STRING_H 1
18
19 /* Define to 1 if you have the <sys/types.h> header file. */
20 #define HAVE_SYS_TYPES_H 1
21
22 /* Define to 1 if you have the <io.h> header file. */
23 /* #undef HAVE_IO_H */
24
25 /* Define to 1 if you have the <search.h> header file. */
26 #define HAVE_SEARCH_H 1
27
28 /* The size of a `int', as computed by sizeof. */
29 #define SIZEOF_INT 4
30
31 /* The size of a `long', as computed by sizeof. */
32 #ifdef __LP64__
33 #define SIZEOF_LONG 8
34 #else
35 #define SIZEOF_LONG 4
36 #endif
37
38 #ifdef __BIG_ENDIAN__
39 /* Set the native cpu bit order */
40 #define HOST_FILLORDER FILLORDER_MSB2LSB
41
42 /* Define to 1 if your processor stores words with the most significant byte
43 first (like Motorola and SPARC, unlike Intel and VAX). */
44 #define WORDS_BIGENDIAN 1
45 #else
46 /* Set the native cpu bit order */
47 #define HOST_FILLORDER FILLORDER_LSB2MSB
48
49 /* Define to 1 if your processor stores words with the most significant byte
50 first (like Motorola and SPARC, unlike Intel and VAX). */
51 /* #undef WORDS_BIGENDIAN */
52 #endif
53
54 /* Define to `__inline__' or `__inline' if that's what the C compiler
55 calls it, or to nothing if 'inline' is not supported under any name. */
56 #ifndef __cplusplus
57 # ifndef inline
58 # define inline __inline
59 # endif
60 #endif
61
62 #else /* __APPLE__ */
63
64 /* Define to 1 if you have the <assert.h> header file. */
65 #define HAVE_ASSERT_H 1
66
67 /* Define to 1 if you have the <fcntl.h> header file. */
68 #define HAVE_FCNTL_H 1
69
70 /* Define as 0 or 1 according to the floating point format suported by the
71 machine */
72 #define HAVE_IEEEFP 1
73
74 /* Define to 1 if you have the `jbg_newlen' function. */
75 #define HAVE_JBG_NEWLEN 1
76
77 /* Define to 1 if you have the <string.h> header file. */
78 #define HAVE_STRING_H 1
79
80 /* Define to 1 if you have the <sys/types.h> header file. */
81 #define HAVE_SYS_TYPES_H 1
82
83 /* Define to 1 if you have the <io.h> header file. */
84 #define HAVE_IO_H 1
85
86 /* Define to 1 if you have the <search.h> header file. */
87 #define HAVE_SEARCH_H 1
88
89 /* Define to 1 if you have the `setmode' function. */
90 #define HAVE_SETMODE 1
91
92 /* The size of a `int', as computed by sizeof. */
93 #define SIZEOF_INT 4
94
95 /* The size of a `long', as computed by sizeof. */
96 #define SIZEOF_LONG 4
97
98 /* Signed 64-bit type formatter */
99 #define TIFF_INT64_FORMAT "%I64d"
100
101 /* Signed 64-bit type */
102 #define TIFF_INT64_T signed __int64
103
104 /* Unsigned 64-bit type formatter */
105 #define TIFF_UINT64_FORMAT "%I64u"
106
107 /* Unsigned 64-bit type */
108 #define TIFF_UINT64_T unsigned __int64
109
110 /* Set the native cpu bit order */
111 #define HOST_FILLORDER FILLORDER_LSB2MSB
112
113 #define snprintf _snprintf
114
115 /* Define to 1 if your processor stores words with the most significant byte
116 first (like Motorola and SPARC, unlike Intel and VAX). */
117 /* #undef WORDS_BIGENDIAN */
118
119 /* Define to `__inline__' or `__inline' if that's what the C compiler
120 calls it, or to nothing if 'inline' is not supported under any name. */
121 #ifndef __cplusplus
122 # ifndef inline
123 # define inline __inline
124 # endif
125 #endif
126
127 #if !defined (__BORLANDC__) && !defined (__WATCOMC__)
128 #define lfind _lfind
129 #endif
130
131 #ifdef __DMC__
132 #define HAVE_INT32
133 typedef long int32;
134 #endif
135
136 #ifdef _WIN32_WCE
137 # undef HAVE_FCNTL_H
138 # undef HAVE_SYS_TYPES_H
139
140 /*
141 CE headers don't define these standard constants (not even underscored
142 versions), provide our own replacements as they seem to be only used in
143 libtiff own code anyhow.
144 */
145 # define O_RDONLY 0x0000
146 # define O_WRONLY 0x0001
147 # define O_RDWR 0x0002
148 # define O_CREAT 0x0100
149 # define O_TRUNC 0x0200
150 # define O_EXCL 0x0400
151 #endif /* _WIN32_WCE */
152
153 #endif /* __APPLE__/!__APPLE__ */
154 /*
155 * Local Variables:
156 * mode: c
157 * c-basic-offset: 8
158 * fill-column: 78
159 * End:
160 */