]> git.saurik.com Git - wxWidgets.git/blob - src/tiff/port.h
use GetFont() instead of (possibly not initialized) m_font in GetCharWidth/Height()
[wxWidgets.git] / src / tiff / port.h
1 /*
2 * Warning, this file was automatically created by the TIFF configure script
3 * Actually, it has been modified to use wxWindows' values.
4 * VERSION: v3.5.2
5 * DATE: Son Nov 28 15:15:07 GMT 1999
6 * TARGET:
7 * CCOMPILER:
8 */
9 #ifndef _PORT_
10 #define _PORT_ 1
11
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15
16 #include "wx/setup.h"
17
18 #include <sys/types.h>
19 #define HOST_FILLORDER FILLORDER_LSB2MSB
20
21 /* wxWindows defines WORDS_BIGENDIAN */
22 #ifdef WORDS_BIGENDIAN
23 #define HOST_BIGENDIAN 1
24 #else
25 #define HOST_BIGENDIAN 0
26 #endif
27
28 /* wxWindows defines its own reading and writing routines */
29 /* #define HAVE_MMAP 1 */
30
31 #include <stdio.h>
32 #include <unistd.h>
33 #include <string.h>
34 #include <stdlib.h>
35 #include <fcntl.h>
36
37 typedef double dblparam_t;
38
39 #ifdef __STRICT_ANSI__
40 #define INLINE __inline__
41 #else
42 #define INLINE inline
43 #endif
44
45 #define GLOBALDATA(TYPE,NAME) extern TYPE NAME
46
47 /* wxWindows defines wxUSE_LIBJPEG */
48 #if wxUSE_LIBJPEG
49 #define JPEG_SUPPORT
50 #endif
51
52 /* wxWindows defines wxUSE_ZLIB */
53 #if wxUSE_ZLIB
54 #define ZIP_SUPPORT
55 #endif
56
57 #ifdef __cplusplus
58 }
59 #endif
60
61 #endif