blob: 0bec225c95b54cfaf5e57d98220d5de57d6c951c (
plain) (
tree)
|
|
https://gitlab.kitware.com/vtk/vtk/-/issues/18033
diff -ur a/base/fapi_ft.c b/base/fapi_ft.c
--- a/base/fapi_ft.c 2022-02-05 02:01:29.370000000 +0000
+++ b/base/fapi_ft.c 2022-02-05 02:03:31.520000000 +0000
@@ -1,3 +1,13 @@
+/* FT_CALLBACK_DEF no longer exported since freetype-2.10.3 */
+/* has been moved to <freetype/internal/compiler-macros.h> */
+# ifndef FT_CALLBACK_DEF
+# ifdef __cplusplus
+# define FT_CALLBACK_DEF( x ) extern "C" x
+# else
+# define FT_CALLBACK_DEF( x ) static x
+# endif
+# endif /* FT_CALLBACK_DEF */
+
/* Copyright (C) 2001-2012 Artifex Software, Inc.
All Rights Reserved.
|