summaryrefslogtreecommitdiff
path: root/src/pal/src/misc
diff options
context:
space:
mode:
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>2019-05-15 16:43:26 -0700
committerJan Kotas <jkotas@microsoft.com>2019-05-15 16:43:26 -0700
commit913e74566f163a8de266ec7a54160203c282393c (patch)
tree2a223e6c521ce7ed5b149e596867675e53aa317f /src/pal/src/misc
parent776187173b1875d170abd7ef5688b66aa8a8256f (diff)
downloadcoreclr-913e74566f163a8de266ec7a54160203c282393c.tar.gz
coreclr-913e74566f163a8de266ec7a54160203c282393c.tar.bz2
coreclr-913e74566f163a8de266ec7a54160203c282393c.zip
Delete unicode API emulator (#24581)
Diffstat (limited to 'src/pal/src/misc')
-rw-r--r--src/pal/src/misc/fmtmessage.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pal/src/misc/fmtmessage.cpp b/src/pal/src/misc/fmtmessage.cpp
index fcf749b51f..6ca66694a7 100644
--- a/src/pal/src/misc/fmtmessage.cpp
+++ b/src/pal/src/misc/fmtmessage.cpp
@@ -22,7 +22,6 @@ Revision History:
#include "pal/palinternal.h"
#include "pal/dbgmsg.h"
-#include "pal/unicode_data.h"
#include "pal/critsect.h"
#include "pal/module.h"
#include "pal/misc.h"
@@ -38,6 +37,7 @@ Revision History:
#include <dlfcn.h>
#endif // NEED_DLCOMPAT
#include <errno.h>
+#include <wctype.h>
SET_DEFAULT_DEBUG_CHANNEL(MISC);
@@ -446,7 +446,7 @@ FormatMessageW(
*lpWorkingString = '\0';
goto exit;
}
- else if ( PAL_iswdigit( *lpSourceString ) )
+ else if ( iswdigit( *lpSourceString ) )
{
/* Get the insert number. */
WCHAR Number[] = { '\0', '\0', '\0' };
@@ -455,11 +455,11 @@ FormatMessageW(
Number[ 0 ] = *lpSourceString;
lpSourceString++;
- if ( PAL_iswdigit( *lpSourceString ) )
+ if ( iswdigit( *lpSourceString ) )
{
Number[ 1 ] = *lpSourceString;
lpSourceString++;
- if ( PAL_iswdigit( *lpSourceString ) )
+ if ( iswdigit( *lpSourceString ) )
{
ERROR( "Invalid insert indentifier.\n" );
SetLastError( ERROR_INVALID_PARAMETER );