From 5ee751326afafee1e219f7bb897eba8e2c744b52 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Mon, 10 Jun 2024 16:32:39 +1000 Subject: [PATCH] 3rdparty/fmt: Work around RTTI being disabled --- 3rdparty/fmt/include/fmt/ostream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdparty/fmt/include/fmt/ostream.h b/3rdparty/fmt/include/fmt/ostream.h index 26fb3b5ac0..cdd99303fa 100644 --- a/3rdparty/fmt/include/fmt/ostream.h +++ b/3rdparty/fmt/include/fmt/ostream.h @@ -73,7 +73,7 @@ auto get_file(std::filebuf&) -> FILE*; inline auto write_ostream_unicode(std::ostream& os, fmt::string_view data) -> bool { FILE* f = nullptr; -#if FMT_MSC_VERSION +#if FMT_MSC_VERSION && false if (auto* buf = dynamic_cast(os.rdbuf())) f = get_file(*buf); else