File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ namespace mamba::logging
23
23
// and avoid static-init-fiasco.
24
24
// But depending on the implementation it is not always possible, so we pay
25
25
// the locking cost in these platforms.
26
- #if defined(__apple_build_version__) // apple-clang
26
+ #if defined(__apple_build_version__) or (defined(_LIBCPP_VERSION) and _LIBCPP_VERSION < 19) // apple-clang or libc++
27
27
using params_mutex = std::mutex;
28
28
#else
29
29
using params_mutex = std::shared_mutex;
Original file line number Diff line number Diff line change 15
15
#include < fmt/ostream.h>
16
16
#include < fmt/xchar.h>
17
17
#include < reproc++/run.hpp>
18
+
18
19
#ifdef _WIN32
19
- #include < WinReg.hpp>
20
+ # include < WinReg.hpp>
20
21
21
- #include " mamba/util/os_win.hpp"
22
+ # include " mamba/util/os_win.hpp"
23
+ #else
24
+ # include < unistd.h>
22
25
#endif
23
26
24
27
#include " mamba/core/activation.hpp"
You can’t perform that action at this time.
0 commit comments