1 /***************************************************************************/ |
|
2 /* */ |
|
3 /* ftconfig.h */ |
|
4 /* */ |
|
5 /* Amiga-specific configuration file (specification only). */ |
|
6 /* */ |
|
7 /* Copyright 2005, 2006, 2007 by */ |
|
8 /* Werner Lemberg and Detlef Würkner. */ |
|
9 /* */ |
|
10 /* This file is part of the FreeType project, and may only be used, */ |
|
11 /* modified, and distributed under the terms of the FreeType project */ |
|
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ |
|
13 /* this file you indicate that you have read the license and */ |
|
14 /* understand and accept it fully. */ |
|
15 /* */ |
|
16 /***************************************************************************/ |
|
17 |
|
18 /* |
|
19 * This is an example how to override the default FreeType2 header files |
|
20 * with Amiga-specific changes. When the compiler searches this directory |
|
21 * before the default directory, we can do some modifications. |
|
22 * |
|
23 * Here we must change FT_EXPORT_DEF so that SAS/C does |
|
24 * generate the needed XDEFs. |
|
25 */ |
|
26 |
|
27 #if 0 |
|
28 #define FT_EXPORT_DEF( x ) extern x |
|
29 #endif |
|
30 |
|
31 #undef FT_EXPORT_DEF |
|
32 #define FT_EXPORT_DEF( x ) x |
|
33 |
|
34 /* Now include the original file */ |
|
35 #ifndef __MORPHOS__ |
|
36 #ifdef __SASC |
|
37 #include "FT:include/freetype/config/ftconfig.h" |
|
38 #else |
|
39 #include "/FT/include/freetype/config/ftconfig.h" |
|
40 #endif |
|
41 #else |
|
42 /* We must define that, it seems that |
|
43 * lib/gcc-lib/ppc-morphos/2.95.3/include/syslimits.h is missing in |
|
44 * ppc-morphos-gcc-2.95.3-bin.tgz (gcc for 68k producing MorphOS PPC elf |
|
45 * binaries from http://www.morphos.de) |
|
46 */ |
|
47 #define _LIBC_LIMITS_H_ |
|
48 #include "/FT/include/freetype/config/ftconfig.h" |
|
49 #endif |
|
50 |
|
51 /* |
|
52 Local Variables: |
|
53 coding: latin-1 |
|
54 End: |
|
55 */ |
|