summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
Diffstat (limited to 'compat')
-rw-r--r--compat/format.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/format.hpp b/compat/format.hpp
index dbf86e1e..faf776f0 100644
--- a/compat/format.hpp
+++ b/compat/format.hpp
@@ -2,7 +2,7 @@
#include <fmt/core.h>
#include <fmt/compile.h>
-#ifndef _MSC_VER
+#if !FMT_USE_NONTYPE_TEMPLATE_ARGS
namespace floormat::detail::fmt {
template<std::size_t N>
struct fmt_string final {
@@ -20,7 +20,7 @@ struct fmt_string final {
namespace floormat {
-#ifndef _MSC_VER
+#if !FMT_USE_NONTYPE_TEMPLATE_ARGS
template<::floormat::detail::fmt::fmt_string s>
consteval auto operator""_cf() noexcept
{