Small improvement.
This commit is contained in:
parent
7909673992
commit
155a575ad9
|
@ -175,13 +175,6 @@
|
||||||
#endif /* FT_MAKE_OPTION_SINGLE_OBJECT */
|
#endif /* FT_MAKE_OPTION_SINGLE_OBJECT */
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
#define LOCAL_VAR extern "C"
|
|
||||||
#else
|
|
||||||
#define LOCAL_VAR extern
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#ifndef BASE_DEF
|
#ifndef BASE_DEF
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@ -245,12 +238,16 @@
|
||||||
/* */
|
/* */
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
||||||
|
#define LOCAL_VAR extern "C"
|
||||||
|
|
||||||
#define LOCAL_FUNC_X extern "C"
|
#define LOCAL_FUNC_X extern "C"
|
||||||
|
|
||||||
#define FT_CPLUSPLUS( x ) extern "C" x
|
#define FT_CPLUSPLUS( x ) extern "C" x
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
#define LOCAL_VAR extern
|
||||||
|
|
||||||
#define LOCAL_FUNC_X static
|
#define LOCAL_FUNC_X static
|
||||||
|
|
||||||
#define FT_CPLUSPLUS( x ) x
|
#define FT_CPLUSPLUS( x ) x
|
||||||
|
|
Loading…
Reference in New Issue