Skip to content

Commit

Permalink
[Fix] mpt/base/detect_quirks.hpp: Use the correct libc++ version numb…
Browse files Browse the repository at this point in the history
…er checks.

git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@22647 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
manxorist committed Dec 30, 2024
1 parent b5c4410 commit 66ff1e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mpt/base/detect_quirks.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,15 +258,15 @@


#if MPT_CXX_AT_LEAST(20)
#if MPT_LIBCXX_GNU_BEFORE(10) || MPT_LIBCXX_LLVM_BEFORE(13) || (MPT_LIBCXX_MS && MPT_MSVC_BEFORE(2022, 0)) || (MPT_LIBCXX_MS && !MPT_COMPILER_MSVC)
#if MPT_LIBCXX_GNU_BEFORE(10) || MPT_LIBCXX_LLVM_BEFORE(13000) || (MPT_LIBCXX_MS && MPT_MSVC_BEFORE(2022, 0)) || (MPT_LIBCXX_MS && !MPT_COMPILER_MSVC)
#define MPT_LIBCXX_QUIRK_NO_CXX20_CONSTEXPR_ALGORITHM
#endif
#endif



#if MPT_CXX_AT_LEAST(20)
#if MPT_LIBCXX_GNU_BEFORE(12) || MPT_LIBCXX_LLVM_BEFORE(15) || (MPT_LIBCXX_MS && MPT_MSVC_BEFORE(2022, 0)) || (MPT_LIBCXX_MS && !MPT_COMPILER_MSVC) || (MPT_OS_ANDROID && MPT_LIBCXX_LLVM_BEFORE(16))
#if MPT_LIBCXX_GNU_BEFORE(12) || MPT_LIBCXX_LLVM_BEFORE(15000) || (MPT_LIBCXX_MS && MPT_MSVC_BEFORE(2022, 0)) || (MPT_LIBCXX_MS && !MPT_COMPILER_MSVC)
#define MPT_LIBCXX_QUIRK_NO_CXX20_CONSTEXPR_CONTAINER
#endif
#endif
Expand Down

0 comments on commit 66ff1e6

Please sign in to comment.