From a272165355f463c3b4d0d3186f55f0618126645d Mon Sep 17 00:00:00 2001 From: Viktor Govako Date: Tue, 23 Nov 2021 00:35:17 +0300 Subject: [PATCH] Release compilation hotfix. Signed-off-by: Viktor Govako --- drape/glyph_manager.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drape/glyph_manager.cpp b/drape/glyph_manager.cpp index 67fd7d6b37..508af4cdd9 100644 --- a/drape/glyph_manager.cpp +++ b/drape/glyph_manager.cpp @@ -25,20 +25,20 @@ #include FT_STROKER_H #include FT_CACHE_H +#undef __FTERRORS_H__ +#define FT_ERRORDEF(e, v, s) {e, s}, +#define FT_ERROR_START_LIST { +#define FT_ERROR_END_LIST {0, 0}}; +struct FreetypeError +{ + int m_code; + char const * m_message; +}; + +FreetypeError g_FT_Errors[] = +#include FT_ERRORS_H + #ifdef DEBUG - #undef __FTERRORS_H__ - #define FT_ERRORDEF(e, v, s) {e, s}, - #define FT_ERROR_START_LIST { - #define FT_ERROR_END_LIST {0, 0}}; - struct FreetypeError - { - int m_code; - char const * m_message; - }; - - FreetypeError g_FT_Errors[] = - #include FT_ERRORS_H - #define FREETYPE_CHECK(x) \ do \ { \