From 226a1eaead24119716a6a2e13558a9b018e5aa0b Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Wed, 16 Feb 2022 09:13:39 +1100 Subject: Fix preprocessor condition to enable threading on Linux. --- gtk/PlatGTK.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk') diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index d79539ffa..8610485de 100755 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -214,7 +214,7 @@ const Supports SupportsGTK[] = { Supports::FractionalStrokeWidth, Supports::TranslucentStroke, Supports::PixelModification, -#if !defined(PLAT_GTK_WIN32) && !defined(PLAT_GTK_MACOSX) +#if defined(G_OS_UNIX) && !defined(__APPLE__) // Pango is not thread-safe on Win32 or macOS Supports::ThreadSafeMeasureWidths, #endif -- cgit v1.2.3