mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-23 23:33:45 +02:00

I don't know why the Wii U build fails with older versions of OpenAL Soft. There's nothing we can do here except use the newer OpenAL Soft versions.
14 lines
608 B
Diff
14 lines
608 B
Diff
# Disables OpenAL Soft's use of flockfile and funlockfile since not every platform we support has those functions.
|
|
# Besides, OpenAL Soft shouldn't even be using the filesystem or the standard streams.
|
|
|
|
--- a/fmt-11.1.1/include/fmt/format-inl.h
|
|
+++ b/fmt-11.1.1/include/fmt/format-inl.h
|
|
@@ -1479,7 +1479,7 @@ struct has_flockfile : std::false_type {};
|
|
|
|
template <typename F>
|
|
struct has_flockfile<F, void_t<decltype(flockfile(&std::declval<F&>()))>>
|
|
- : std::true_type {};
|
|
+ : std::false_type {};
|
|
|
|
// A FILE wrapper. F is FILE defined as a template parameter to make system API
|
|
// detection work.
|