summaryrefslogtreecommitdiff
path: root/freetype/include/freetype/config/public-macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'freetype/include/freetype/config/public-macros.h')
-rw-r--r--freetype/include/freetype/config/public-macros.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/freetype/include/freetype/config/public-macros.h b/freetype/include/freetype/config/public-macros.h
index 0074134f1..273972d18 100644
--- a/freetype/include/freetype/config/public-macros.h
+++ b/freetype/include/freetype/config/public-macros.h
@@ -101,8 +101,9 @@ FT_BEGIN_HEADER
* functions are exported with C linkage, even when the header is included
* by a C++ source file.
*/
+#ifndef FT_EXPORT
#define FT_EXPORT( x ) FT_PUBLIC_FUNCTION_ATTRIBUTE extern x
-
+#endif
/*
* `FT_UNUSED` indicates that a given parameter is not used -- this is