Add hb-config.hh

This commit is contained in:
Behdad Esfahbod 2019-05-10 23:53:38 -07:00
parent d43af339e7
commit e6582de12f
3 changed files with 41 additions and 3 deletions

View File

@ -31,6 +31,7 @@ HB_BASE_sources = \
hb-cff1-interp-cs.hh \ hb-cff1-interp-cs.hh \
hb-cff2-interp-cs.hh \ hb-cff2-interp-cs.hh \
hb-common.cc \ hb-common.cc \
hb-config.hh \
hb-debug.hh \ hb-debug.hh \
hb-dispatch.hh \ hb-dispatch.hh \
hb-face.cc \ hb-face.cc \

36
src/hb-config.hh Normal file
View File

@ -0,0 +1,36 @@
/*
* Copyright © 2019 Facebook, Inc.
*
* This is part of HarfBuzz, a text shaping library.
*
* Permission is hereby granted, without written agreement and without
* license or royalty fees, to use, copy, modify, and distribute this
* software and its documentation for any purpose, provided that the
* above copyright notice and the following two paragraphs appear in
* all copies of this software.
*
* IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
* DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
* ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
* IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
* DAMAGE.
*
* THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
* FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
* ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
*
* Facebook Author(s): Behdad Esfahbod
*/
#ifndef HB_CONFIG_HH
#define HB_CONFIG_HH
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#endif /* HB_CONFIG_HH */

View File

@ -29,6 +29,7 @@
#ifndef HB_HH #ifndef HB_HH
#define HB_HH #define HB_HH
#ifndef HB_NO_PRAGMA_GCC_DIAGNOSTIC #ifndef HB_NO_PRAGMA_GCC_DIAGNOSTIC
#ifdef _MSC_VER #ifdef _MSC_VER
#pragma warning( disable: 4068 ) /* Unknown pragma */ #pragma warning( disable: 4068 ) /* Unknown pragma */
@ -129,9 +130,9 @@
#endif #endif
#endif #endif
#ifdef HAVE_CONFIG_H
#include "config.h" #include "hb-config.hh"
#endif
/* /*
* Following added based on what AC_USE_SYSTEM_EXTENSIONS adds to * Following added based on what AC_USE_SYSTEM_EXTENSIONS adds to