/[freetype]/freetype2/builds/amiga/include/freetype/config/ftconfig.h
ViewVC logotype

Diff of /freetype2/builds/amiga/include/freetype/config/ftconfig.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by wl, Fri Mar 25 22:18:01 2005 UTC revision 1.4 by wl, Wed Jun 8 11:56:55 2005 UTC
# Line 1  Line 1 
1  // TetiSoft: We must change FT_BASE_DEF and FT_EXPORT_DEF  /***************************************************************************/
2    /*                                                                         */
3    /*  ftconfig.h                                                             */
4    /*                                                                         */
5    /*    Amiga-specific configuration file (specification only).              */
6    /*                                                                         */
7    /*  Copyright 2005 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_BASE_DEF and FT_EXPORT_DEF so that SAS/C does
24     * generate the needed XDEFs.
25     */
26    
27    #if 0
28    #define FT_BASE_DEF( x )  extern  x
29    #define FT_EXPORT_DEF( x )  extern  x
30    #endif
31    
 //#define FT_BASE_DEF( x )  extern  x   // SAS/C wouldn't generate an XDEF  
 //#define FT_EXPORT_DEF( x )  extern  x // SAS/C wouldn't generate an XDEF  
32  #undef FT_BASE_DEF  #undef FT_BASE_DEF
33  #define FT_BASE_DEF( x )  x  #define FT_BASE_DEF( x )  x
34    
35  #undef FT_EXPORT_DEF  #undef FT_EXPORT_DEF
36  #define FT_EXPORT_DEF( x )  x  #define FT_EXPORT_DEF( x )  x
37    
38  // TetiSoft: now include original file  /* Now include the original file */
39  #ifndef __MORPHOS__  #ifndef __MORPHOS__
40  #ifdef __SASC  #ifdef __SASC
41  #include "FT:include/freetype/config/ftconfig.h"  #include "FT:include/freetype/config/ftconfig.h"
# Line 15  Line 43 
43  #include "/FT/include/freetype/config/ftconfig.h"  #include "/FT/include/freetype/config/ftconfig.h"
44  #endif  #endif
45  #else  #else
46  // We must define that, it seems that  /* We must define that, it seems that
47  // lib/gcc-lib/ppc-morphos/2.95.3/include/syslimits.h is missing in   * lib/gcc-lib/ppc-morphos/2.95.3/include/syslimits.h is missing in
48  // ppc-morphos-gcc-2.95.3-bin.tgz (gcc for 68k producing MorphOS PPC elf   * ppc-morphos-gcc-2.95.3-bin.tgz (gcc for 68k producing MorphOS PPC elf
49  // binaries from http://www.morphos.de)   * binaries from http://www.morphos.de)
50     */
51  #define _LIBC_LIMITS_H_  #define _LIBC_LIMITS_H_
52  #include "/FT/include/freetype/config/ftconfig.h"  #include "/FT/include/freetype/config/ftconfig.h"
53  #endif  #endif
54    
55    /*
56    Local Variables:
57    coding: latin-1
58    End:
59    */

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26