Skip to content

Commit

Permalink
[Fix] build: Autotools: Change detection of mingw-std-threads to use …
Browse files Browse the repository at this point in the history
…mingw.mutex.h instead of mingw.thread.h because GCC11 broke mingw-std-threads' thread implementation. See <meganz/mingw-std-threads#79> and <https://forum.openmpt.org/index.php?topic=6822>.

git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@17309 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
manxorist committed May 4, 2022
1 parent cee0109 commit 27f287e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/autotools/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ AX_PTHREAD([
AC_LANG_PUSH([C++])
case $host_os in
mingw32*)
AC_CHECK_HEADER([mingw.thread.h],
AC_CHECK_HEADER([mingw.mutex.h],
[
have_mingwstdtthreads=1
],
Expand Down

0 comments on commit 27f287e

Please sign in to comment.