• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/****************************************************************************
2 *
3 * ftconfig.h.in
4 *
5 *   UNIX-specific configuration file (specification only).
6 *
7 * Copyright (C) 1996-2020 by
8 * David Turner, Robert Wilhelm, and Werner Lemberg.
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  /**************************************************************************
20   *
21   * This header file contains a number of macro definitions that are used by
22   * the rest of the engine.  Most of the macros here are automatically
23   * determined at compile time, and you should not need to change it to port
24   * FreeType, except to compile the library with a non-ANSI compiler.
25   *
26   * Note however that if some specific modifications are needed, we advise
27   * you to place a modified copy in your build directory.
28   *
29   * The build directory is usually `builds/<system>`, and contains
30   * system-specific files that are always included first when building the
31   * library.
32   *
33   */
34
35#ifndef FTCONFIG_H_
36#define FTCONFIG_H_
37
38#include <ft2build.h>
39#include FT_CONFIG_OPTIONS_H
40#include FT_CONFIG_STANDARD_LIBRARY_H
41
42#undef HAVE_UNISTD_H
43#undef HAVE_FCNTL_H
44
45#undef FT_USE_AUTOCONF_SIZEOF_TYPES
46#ifdef FT_USE_AUTOCONF_SIZEOF_TYPES
47
48#undef SIZEOF_INT
49#undef SIZEOF_LONG
50#define FT_SIZEOF_INT  SIZEOF_INT
51#define FT_SIZEOF_LONG SIZEOF_LONG
52
53#endif /* FT_USE_AUTOCONF_SIZEOF_TYPES */
54
55#include <freetype/config/integer-types.h>
56#include <freetype/config/public-macros.h>
57#include <freetype/config/mac-support.h>
58
59#endif /* FTCONFIG_H_ */
60
61
62/* END */
63