mcst-linux-kernel/patches-2024.06.26/wxWidgets3-3.0.2/0001-Bug-81747.patch

29 lines
711 B
Diff
Raw Normal View History

2024-07-09 13:51:45 +03:00
From 98964b89af66a4b8c76db4891263e845ae947bfa Mon Sep 17 00:00:00 2001
Date: Fri, 22 Jan 2016 18:22:10 +0300
Subject: [PATCH] Bug 81747
---
src/common/threadinfo.cpp | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/common/threadinfo.cpp b/src/common/threadinfo.cpp
index e77682d..9a7e807 100644
--- a/src/common/threadinfo.cpp
+++ b/src/common/threadinfo.cpp
@@ -48,6 +48,12 @@ inline wxAllThreadInfos& GetAllThreadInfos()
}
// Pointer to the current thread's instance
+
+
+#if (defined __LCC__) && (__LCC__ <= 120) // bug 81747
+static
+#endif
+
inline wxTLS_TYPE_REF(wxThreadSpecificInfo*) GetThisThreadInfo()
{
static wxTLS_TYPE(wxThreadSpecificInfo*) s_thisThreadInfo;
--
2.16.4