From 05aa783779a6b81b72ab5662ffc1604728f5b371 Mon Sep 17 00:00:00 2001 From: hotwatermorning Date: Sun, 1 Oct 2023 14:51:23 +0900 Subject: [PATCH] feat: include xlocale.h only if exists --- include/fmt/os.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/os.h b/include/fmt/os.h index f3e81cfc..e5bd11aa 100644 --- a/include/fmt/os.h +++ b/include/fmt/os.h @@ -13,7 +13,7 @@ #include #include // std::system_error -#if defined __APPLE__ || defined(__FreeBSD__) +#if (defined __APPLE__ || defined(__FreeBSD__)) && __has_include() # include // for LC_NUMERIC_MASK on OS X #endif