ref: 155a575ad9b00a7fb8fea1a4fc1e86f11a52c143
parent: 7909673992b66a1afb0c6a62fdfe3c395d21a5bf
author: Werner Lemberg <[email protected]>
date: Fri Sep 1 01:35:49 EDT 2000
Small improvement.
--- 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,11 +238,15 @@
/* */
#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