Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4973 right-hear 1
/* This file is part of the FreeType project */
2
 
3
/* ft_conf.h for MSDOS */
4
 
5
 
6
/* we need the following because there are some typedefs in this file */
7
 
8
#ifndef FT_CONF_H
9
#define FT_CONF_H
10
 
11
/* Define to empty if the keyword does not work.  */
12
/* #undef const */
13
 
14
/* Define if you have a working `mmap' system call.  */
15
#undef HAVE_MMAP
16
 
17
/* Define if you have the  header file.  */
18
#define HAVE_STDLIB_H
19
 
20
/* Define if you have the getpagesize function.  */
21
#define HAVE_GETPAGESIZE
22
 
23
/* Define if you have the memcpy function.  */
24
#define HAVE_MEMCPY
25
 
26
/* Define if you have the memmove function.  */
27
#define HAVE_MEMMOVE
28
 
29
/* Define if you have the valloc function.  */
30
#undef HAVE_VALLOC
31
 
32
/* Define if you have the  header file.  */
33
#define HAVE_FCNTL_H
34
 
35
/* Define if you have the  header file.  */
36
#if defined( __EMX__ ) || defined( __DJGPP__ ) || defined( __GO32__ )
37
/* some compilers are known to have ;       */
38
/* add yours if needed, and report to us the update.  */
39
#define HAVE_UNISTD_H
40
#else
41
/* most MS-DOS compilers lack  */
42
#undef  HAVE_UNISTD_H
43
#endif
44
 
45
/* Define if you need  for console I/O functions.  */
46
#ifdef __EMX__
47
#define HAVE_CONIO_H
48
#endif
49
 
50
/* Define if you have the  header file.  */
51
#undef HAVE_LOCALE_H
52
 
53
/* Define if you have the  header file.  */
54
#undef HAVE_LIBINTL_H
55
 
56
/* Define if you have the libintl library.  */
57
#undef HAVE_LIBINTL
58
 
59
#define HAVE_PRINT_FUNCTION 1
60
 
61
#define Print( format, ap )
62
 
63
#include 
64
#if   UINT_MAX == 0xFFFF
65
#define SIZEOF_INT  2
66
#elif UINT_MAX == 0xFFFFFFFF
67
#define SIZEOF_INT  4
68
#else
69
#error "Unsupported number of bytes in `int' type!"
70
#endif
71
 
72
#define SIZEOF_LONG 4
73
 
74
 
75
#define  TT_CONFIG_OPTION_EXTEND_ENGINE
76
 
77
#define  TT_CONFIG_OPTION_GRAY_SCALING
78
 
79
#undef   TT_CONFIG_OPTION_NO_INTERPRETER
80
 
81
#define  TT_CONFIG_OPTION_INTERPRETER_SWITCH
82
 
83
#undef TT_CONFIG_OPTION_STATIC_INTERPRETER
84
 
85
#undef  TT_CONFIG_OPTION_STATIC_RASTER
86
 
87
#undef  TT_CONFIG_OPTION_THREAD_SAFE
88
 
89
#undef  DEBUG_LEVEL_TRACE
90
#undef  DEBUG_LEVEL_ERROR
91
 
92
 
93
#if SIZEOF_INT == 4
94
 
95
  typedef signed int      TT_Int32;
96
  typedef unsigned int    TT_Word32;
97
 
98
#elif SIZEOF_LONG == 4
99
 
100
  typedef signed long     TT_Int32;
101
  typedef unsigned long   TT_Word32;
102
 
103
#else
104
#error "no 32bit type found"
105
#endif
106
 
107
#if SIZEOF_LONG == 8
108
 
109
/* LONG64 must be defined when a 64-bit type is available */
110
/* INT64 must then be defined to this type..              */
111
#define LONG64
112
#define INT64   long
113
 
114
#else
115
 
116
/* GCC provides the non-ANSI 'long long' 64-bit type.  You can activate    */
117
/* by defining the TT_USE_LONG_LONG macro in 'ft_conf.h'.  Note that this  */
118
/* will produce many -ansi warnings during library compilation.            */
119
#ifdef TT_USE_LONG_LONG
120
 
121
#define LONG64
122
#define INT64   long long
123
 
124
#endif /* TT_USE_LONG_LONG */
125
#endif
126
 
127
#endif /* FT_CONF_H */
128
 
129
 
130
/* END */