From 4222466667edbb6c1ae27f9a75b1182b0a235f12 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Fri, 1 Sep 2000 05:35:49 +0000 Subject: [PATCH] Small improvement. --- include/freetype/config/ftconfig.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/include/freetype/config/ftconfig.h b/include/freetype/config/ftconfig.h index 854109f5c..7e0892764 100644 --- a/include/freetype/config/ftconfig.h +++ b/include/freetype/config/ftconfig.h @@ -175,13 +175,6 @@ #endif /* FT_MAKE_OPTION_SINGLE_OBJECT */ -#ifdef __cplusplus -#define LOCAL_VAR extern "C" -#else -#define LOCAL_VAR extern -#endif - - #ifndef BASE_DEF #ifdef __cplusplus @@ -245,12 +238,16 @@ /* */ #ifdef __cplusplus +#define LOCAL_VAR extern "C" + #define LOCAL_FUNC_X extern "C" #define FT_CPLUSPLUS( x ) extern "C" x #else +#define LOCAL_VAR extern + #define LOCAL_FUNC_X static #define FT_CPLUSPLUS( x ) x