diff --git a/stl/inc/limits b/stl/inc/limits index 45a3d0e4ab1..92b3cb9c75c 100644 --- a/stl/inc/limits +++ b/stl/inc/limits @@ -10,7 +10,6 @@ #if _STL_COMPILER_PREPROCESSOR #include #include -#include #include #include @@ -459,11 +458,11 @@ template <> class numeric_limits : public _Num_int_base { public: _NODISCARD static constexpr wchar_t(min)() noexcept { - return WCHAR_MIN; + return 0; } _NODISCARD static constexpr wchar_t(max)() noexcept { - return WCHAR_MAX; + return 0xffff; } _NODISCARD static constexpr wchar_t lowest() noexcept {