freetype2/include/freetype/config
David Turner 0f35b042e0 [build] Really fix multi and C++ builds.
The following builds were still failing due to previous changes:

  make multi
  make multi CC="c++"
  make CC="c++"

This patch fixes the issues, which were missing includes to get the
right macro definitions in multi-build mode.

Also, `FT_UNUSED' is actually used by third-party code, so move it
back to `public-macros.h' to avoid breaking it.

* include/freetype/config/public-macros.h (FT_EXPORT): Remove
special definition for C++.
(FT_UNUSED): Define here instead of...
* include/freetype/config/compiler-macros.h: ... here.
(FT_FUNCTION_DECLARATION): Remove special definition for C++.
(FT_LOCAL_ARRAY_DEF): Fix definition.

* src/cache/ftccback.h, src/lzw/ftzopen.h, src/gxvalid/gxvmort.h,
src/gxvalid/gxvmorx.h: Add `FT_BEGIN_HEADER' and `FT_END_HEADER'.
2020-07-07 06:51:09 +02:00
..
ftconfig.h [build] Fix multi and C++ builds. 2020-07-06 11:49:00 +02:00
ftheader.h [build] Fix multi and C++ builds. 2020-07-06 11:49:00 +02:00
ftmodule.h [smooth] Stop using dedicated LCD modules and classes. 2020-05-11 23:30:37 -04:00
ftoption.h Remove Jamfile files from the tree. 2020-05-18 17:56:06 +02:00
ftstdlib.h Update all copyright notices. 2020-01-19 17:05:19 +01:00
integer-types.h [build] Put integer type definitions into `integer-types.h'. 2020-07-05 09:52:23 +02:00
mac-support.h [build] Move mac support code to `mac-support.h'. 2020-07-05 09:59:29 +02:00
public-macros.h [build] Really fix multi and C++ builds. 2020-07-07 06:51:09 +02:00