]> git.saurik.com Git - wxWidgets.git/blame - src/tiff/libtiff/tif_config.h
fixing osx_carbon
[wxWidgets.git] / src / tiff / libtiff / tif_config.h
CommitLineData
143973fc
SC
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 <string.h> header file. */
14#define HAVE_STRING_H 1
15
16/* Define to 1 if you have the <sys/types.h> header file. */
17#define HAVE_SYS_TYPES_H 1
18
19/* Define to 1 if you have the <io.h> header file. */
20/* #undef HAVE_IO_H */
21
22/* Define to 1 if you have the <search.h> header file. */
23#define HAVE_SEARCH_H 1
24
25/* The size of a `int', as computed by sizeof. */
26#define SIZEOF_INT 4
27
28/* The size of a `long', as computed by sizeof. */
29#ifdef __LP64__
30#define SIZEOF_LONG 8
31#else
32#define SIZEOF_LONG 4
33#endif
34
4ba6d656 35#ifdef __BIG_ENDIAN__
143973fc
SC
36 /* Set the native cpu bit order */
37 #define HOST_FILLORDER FILLORDER_MSB2LSB
38
39 /* Define to 1 if your processor stores words with the most significant byte
40 first (like Motorola and SPARC, unlike Intel and VAX). */
41 #define WORDS_BIGENDIAN 1
42#else
43 /* Set the native cpu bit order */
44 #define HOST_FILLORDER FILLORDER_LSB2MSB
45
46 /* Define to 1 if your processor stores words with the most significant byte
47 first (like Motorola and SPARC, unlike Intel and VAX). */
48 /* #undef WORDS_BIGENDIAN */
49#endif
50
51/* Define to `__inline__' or `__inline' if that's what the C compiler
52 calls it, or to nothing if 'inline' is not supported under any name. */
53#ifndef __cplusplus
54# ifndef inline
55# define inline __inline
56# endif
57#endif
58
59#else /* __APPLE__ */
60
15811f2f
VZ
61/* Define to 1 if you have the <assert.h> header file. */
62#define HAVE_ASSERT_H 1
63
64/* Define to 1 if you have the <fcntl.h> header file. */
65#define HAVE_FCNTL_H 1
66
67/* Define as 0 or 1 according to the floating point format suported by the
68 machine */
69#define HAVE_IEEEFP 1
70
71/* Define to 1 if you have the <string.h> header file. */
72#define HAVE_STRING_H 1
73
74/* Define to 1 if you have the <sys/types.h> header file. */
75#define HAVE_SYS_TYPES_H 1
76
77/* Define to 1 if you have the <io.h> header file. */
78#define HAVE_IO_H 1
79
80/* Define to 1 if you have the <search.h> header file. */
81#define HAVE_SEARCH_H 1
82
83/* The size of a `int', as computed by sizeof. */
84#define SIZEOF_INT 4
85
86/* The size of a `long', as computed by sizeof. */
87#define SIZEOF_LONG 4
88
89/* Set the native cpu bit order */
90#define HOST_FILLORDER FILLORDER_LSB2MSB
91
92/* Define to 1 if your processor stores words with the most significant byte
93 first (like Motorola and SPARC, unlike Intel and VAX). */
94/* #undef WORDS_BIGENDIAN */
95
96/* Define to `__inline__' or `__inline' if that's what the C compiler
97 calls it, or to nothing if 'inline' is not supported under any name. */
98#ifndef __cplusplus
99# ifndef inline
100# define inline __inline
101# endif
102#endif
103
75cdd73f 104#if !defined (__BORLANDC__) && !defined (__WATCOMC__)
5b0c31c3
CE
105 #define lfind _lfind
106#endif
107
8ec67c0b
CE
108#ifdef __DMC__
109#define HAVE_INT32
110typedef long int32;
111#endif
112
ecb22f9e
VZ
113#ifdef _WIN32_WCE
114# undef HAVE_FCNTL_H
115# undef HAVE_SYS_TYPES_H
116
117 /*
118 CE headers don't define these standard constants (not even underscored
119 versions), provide our own replacements as they seem to be only used in
120 libtiff own code anyhow.
121 */
122# define O_RDONLY 0x0000
123# define O_WRONLY 0x0001
124# define O_RDWR 0x0002
125# define O_CREAT 0x0100
126# define O_TRUNC 0x0200
127# define O_EXCL 0x0400
128#endif /* _WIN32_WCE */
129
130#endif /* __APPLE__/!__APPLE__ */