From 8fba32d2d6f284bfd49ed6c0557880e0bb692f49 Mon Sep 17 00:00:00 2001 From: David Turner Date: Thu, 30 Nov 2000 23:12:33 +0000 Subject: introduced the new file to determine where is the top-level include directory for all public, configuration and internal header files.. --- include/freetype/internal/ftcalc.h | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'include/freetype/internal/ftcalc.h') diff --git a/include/freetype/internal/ftcalc.h b/include/freetype/internal/ftcalc.h index dfc6b52d9..bac737084 100644 --- a/include/freetype/internal/ftcalc.h +++ b/include/freetype/internal/ftcalc.h @@ -16,15 +16,16 @@ /***************************************************************************/ -#ifndef FTCALC_H -#define FTCALC_H +#ifndef __FTCALC_H__ +#define __FTCALC_H__ -#include -#include /* for FT_LONG64 */ - -#ifdef __cplusplus - extern "C" { +#ifndef FT_BUILD_H +# define FT_BUILD_H #endif +#include FT_BUILD_H +#include FT_FREETYPE_H + +FT_BEGIN_HEADER #ifdef FT_LONG64 @@ -216,12 +217,9 @@ #define ROUND_F26DOT6( x ) ( x >= 0 ? ( ( (x) + 32 ) & -64 ) \ : ( -( ( 32 - (x) ) & -64 ) ) ) +FT_END_HEADER -#ifdef __cplusplus - } -#endif - -#endif /* FTCALC_H */ +#endif /* __FTCALC_H__ */ /* END */ -- cgit v1.2.1