From 82e66286593a50e884fdaa8e20917d08e1870c05 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Tue, 9 Jun 2020 10:17:09 +0200 Subject: [PATCH] fontstash: use freetype only on non-Windows systems --- thirdparty/fontstash/fontstash.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/thirdparty/fontstash/fontstash.h b/thirdparty/fontstash/fontstash.h index a8d689e99a..55cd1ce5a8 100644 --- a/thirdparty/fontstash/fontstash.h +++ b/thirdparty/fontstash/fontstash.h @@ -155,7 +155,11 @@ FONS_DEF void fonsDrawDebug(FONScontext* s, float x, float y); #define FONS_NOTUSED(v) (void)sizeof(v) + +// Use FreeType on non-Windows systems +#ifndef _WIN32 #define FONS_USE_FREETYPE +#endif #ifdef FONS_USE_FREETYPE