From 372d3f7a7ebbeb23924b220bb01a36de42bad953 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Wed, 14 Dec 2022 18:39:17 +0000 Subject: [PATCH] Drop redundant config check. --- src/wide_posix_api.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/wide_posix_api.cpp b/src/wide_posix_api.cpp index e55fadb5..993464f8 100644 --- a/src/wide_posix_api.cpp +++ b/src/wide_posix_api.cpp @@ -178,7 +178,6 @@ BOOST_REGEX_DECL regsize_t BOOST_REGEX_CCALL regerrorW(int code, const regex_tW* } return result; } -#if !defined(BOOST_NO_SWPRINTF) if(code == REG_ATOI) { wchar_t localbuf[5]; @@ -215,7 +214,6 @@ BOOST_REGEX_DECL regsize_t BOOST_REGEX_CCALL regerrorW(int code, const regex_tW* #endif return std::wcslen(localbuf) + 1; } -#endif if(code <= (int)REG_E_UNKNOWN) { std::string p;