diff options
author | Michal Strehovský <MichalStrehovsky@users.noreply.github.com> | 2019-05-15 16:43:26 -0700 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2019-05-15 16:43:26 -0700 |
commit | 913e74566f163a8de266ec7a54160203c282393c (patch) | |
tree | 2a223e6c521ce7ed5b149e596867675e53aa317f /src/ToolBox | |
parent | 776187173b1875d170abd7ef5688b66aa8a8256f (diff) | |
download | coreclr-913e74566f163a8de266ec7a54160203c282393c.tar.gz coreclr-913e74566f163a8de266ec7a54160203c282393c.tar.bz2 coreclr-913e74566f163a8de266ec7a54160203c282393c.zip |
Delete unicode API emulator (#24581)
Diffstat (limited to 'src/ToolBox')
-rw-r--r-- | src/ToolBox/SOS/Strike/strike.h | 2 | ||||
-rw-r--r-- | src/ToolBox/SOS/Strike/util.cpp | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/ToolBox/SOS/Strike/strike.h b/src/ToolBox/SOS/Strike/strike.h index dfc0dcfea4..3078d8b3c5 100644 --- a/src/ToolBox/SOS/Strike/strike.h +++ b/src/ToolBox/SOS/Strike/strike.h @@ -23,7 +23,6 @@ #endif #ifdef PAL_STDCPP_COMPAT -#define _iswprint PAL_iswprint #define _wcslen PAL_wcslen #define _wcsncmp PAL_wcsncmp #define _wcsrchr PAL_wcsrchr @@ -33,7 +32,6 @@ #define _wcscat PAL_wcscat #define _wcsstr PAL_wcsstr #else // PAL_STDCPP_COMPAT -#define _iswprint iswprint #define _wcslen wcslen #define _wcsncmp wcsncmp #define _wcsrchr wcsrchr diff --git a/src/ToolBox/SOS/Strike/util.cpp b/src/ToolBox/SOS/Strike/util.cpp index 88debb7810..f9fe957922 100644 --- a/src/ToolBox/SOS/Strike/util.cpp +++ b/src/ToolBox/SOS/Strike/util.cpp @@ -46,6 +46,7 @@ PIMAGEHLP_SYMBOL sym = (PIMAGEHLP_SYMBOL) symBuffer; #include <sys/stat.h> #include <coreruncommon.h> #include <dlfcn.h> +#include <wctype.h> #endif // !FEATURE_PAL #include <coreclrhost.h> @@ -3827,7 +3828,7 @@ void StringObjectContent(size_t obj, BOOL fLiteral, const int length) ULONG j,k=0; for (j = 0; j < wcharsRead; j ++) { - if (_iswprint (buffer[j])) { + if (iswprint (buffer[j])) { out[k] = buffer[j]; k ++; } |