]> git.saurik.com Git - wxWidgets.git/blame - src/tiff/port.h
More compile fixes.
[wxWidgets.git] / src / tiff / port.h
CommitLineData
b47c832e
RR
1/*
2 * Warning, this file was automatically created by the TIFF configure script
77ffb593 3 * Actually, it has been modified to use wxWidgets' values.
b47c832e
RR
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
13extern "C" {
14#endif
15
16#include "wx/setup.h"
17
18#include <sys/types.h>
19#define HOST_FILLORDER FILLORDER_LSB2MSB
20
77ffb593 21/* wxWidgets defines WORDS_BIGENDIAN */
b47c832e
RR
22#ifdef WORDS_BIGENDIAN
23#define HOST_BIGENDIAN 1
24#else
25#define HOST_BIGENDIAN 0
26#endif
27
77ffb593 28/* wxWidgets defines its own reading and writing routines */
b47c832e
RR
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
37typedef 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
77ffb593 47/* wxWidgets defines wxUSE_LIBJPEG */
b47c832e
RR
48#if wxUSE_LIBJPEG
49#define JPEG_SUPPORT
50#endif
51
77ffb593 52/* wxWidgets defines wxUSE_ZLIB */
b47c832e
RR
53#if wxUSE_ZLIB
54#define ZIP_SUPPORT
55#endif
56
57#ifdef __cplusplus
58}
59#endif
60
61#endif