diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-03-08 09:36:47 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-03-08 09:36:47 +0000 |
commit | eef0289ade39edba534c15dd61f2503a8bbc7f6e (patch) | |
tree | 2aa9358260d4cf3eb86a95db05ae0fe88cb38e3f /Build/source/libs/freetype2/freetype-2.5.3/builds/amiga/include/config/ftconfig.h | |
parent | 484958800fef83977a155ee17c7adeb6dc7f6e1d (diff) |
freetype 2.5.3
git-svn-id: svn://tug.org/texlive/trunk@33124 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/freetype2/freetype-2.5.3/builds/amiga/include/config/ftconfig.h')
-rw-r--r-- | Build/source/libs/freetype2/freetype-2.5.3/builds/amiga/include/config/ftconfig.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/Build/source/libs/freetype2/freetype-2.5.3/builds/amiga/include/config/ftconfig.h b/Build/source/libs/freetype2/freetype-2.5.3/builds/amiga/include/config/ftconfig.h new file mode 100644 index 00000000000..a73ace671dd --- /dev/null +++ b/Build/source/libs/freetype2/freetype-2.5.3/builds/amiga/include/config/ftconfig.h @@ -0,0 +1,55 @@ +/***************************************************************************/ +/* */ +/* ftconfig.h */ +/* */ +/* Amiga-specific configuration file (specification only). */ +/* */ +/* Copyright 2005-2007, 2013 by */ +/* Werner Lemberg and Detlef Würkner. */ +/* */ +/* This file is part of the FreeType project, and may only be used, */ +/* modified, and distributed under the terms of the FreeType project */ +/* license, LICENSE.TXT. By continuing to use, modify, or distribute */ +/* this file you indicate that you have read the license and */ +/* understand and accept it fully. */ +/* */ +/***************************************************************************/ + +/* + * This is an example how to override the default FreeType2 header files + * with Amiga-specific changes. When the compiler searches this directory + * before the default directory, we can do some modifications. + * + * Here we must change FT_EXPORT_DEF so that SAS/C does + * generate the needed XDEFs. + */ + +#if 0 +#define FT_EXPORT_DEF( x ) extern x +#endif + +#undef FT_EXPORT_DEF +#define FT_EXPORT_DEF( x ) x + +/* Now include the original file */ +#ifndef __MORPHOS__ +#ifdef __SASC +#include "FT:include/config/ftconfig.h" +#else +#include "/FT/include/config/ftconfig.h" +#endif +#else +/* We must define that, it seems that + * lib/gcc-lib/ppc-morphos/2.95.3/include/syslimits.h is missing in + * ppc-morphos-gcc-2.95.3-bin.tgz (gcc for 68k producing MorphOS PPC elf + * binaries from http://www.morphos.de) + */ +#define _LIBC_LIMITS_H_ +#include "/FT/include/config/ftconfig.h" +#endif + +/* +Local Variables: +coding: latin-1 +End: +*/ |