Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't use thread_local on mingw or OpenBSD builds
MingW has broken support for thread_local, so force disabling it see https://sourceforge.net/p/mingw-w64/bugs/445/ https://sourceforge.net/p/mingw-w64/bugs/527/ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80816 also OpenBSD has no thread_local support, see https://issues.qgis.org/issues/17351 So on these platforms we fall back to using QThreadStorage. Fixes #17351
- Loading branch information
1 parent
d269f34
commit 265be41
Showing
4 changed files
with
57 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,5 +60,7 @@ | |
|
||
#cmakedefine HAVE_3D | ||
|
||
#cmakedefine USE_THREAD_LOCAL | ||
|
||
#endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters