aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil Hodgson <nyamatongwe@gmail.com>2022-02-16 09:13:39 +1100
committerNeil Hodgson <nyamatongwe@gmail.com>2022-02-16 09:13:39 +1100
commit226a1eaead24119716a6a2e13558a9b018e5aa0b (patch)
tree7658d5778cc74859e85f09d70e37f5e5e042d5d7
parent9b8ca41b15ca4f53c0f1ccd69e6135694321d854 (diff)
downloadscintilla-mirror-226a1eaead24119716a6a2e13558a9b018e5aa0b.tar.gz
Fix preprocessor condition to enable threading on Linux.
-rwxr-xr-xgtk/PlatGTK.cxx2
1 files changed, 1 insertions, 1 deletions
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