summaryrefslogtreecommitdiff
path: root/src/pal/src/misc
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2018-03-19 06:59:33 -0700
committerGitHub <noreply@github.com>2018-03-19 06:59:33 -0700
commite7bb40f52d46671f5001012284a2f54eaa658e35 (patch)
treeb303ba0ec6f7c19942cd0ceefe6c38eb6b5f941b /src/pal/src/misc
parent259006de1cb285e5c15490013289e0b214c6cb21 (diff)
downloadcoreclr-e7bb40f52d46671f5001012284a2f54eaa658e35.tar.gz
coreclr-e7bb40f52d46671f5001012284a2f54eaa658e35.tar.bz2
coreclr-e7bb40f52d46671f5001012284a2f54eaa658e35.zip
Delete unused downlevel globalization support (#17022)
Delete ENABLE_DOWNLEVEL_FOR_NLS and everything under it
Diffstat (limited to 'src/pal/src/misc')
-rw-r--r--src/pal/src/misc/fmtmessage.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/pal/src/misc/fmtmessage.cpp b/src/pal/src/misc/fmtmessage.cpp
index 70b854aa9c..fcf749b51f 100644
--- a/src/pal/src/misc/fmtmessage.cpp
+++ b/src/pal/src/misc/fmtmessage.cpp
@@ -336,11 +336,7 @@ FormatMessageW(
}
if ( !( dwFlags & FORMAT_MESSAGE_FROM_STRING ) &&
- ( dwLanguageId != 0
-#if ENABLE_DOWNLEVEL_FOR_NLS
- && dwLanguageId != MAKELANGID( LANG_NEUTRAL, SUBLANG_DEFAULT )
-#endif
- ) )
+ ( dwLanguageId != 0) )
{
ERROR( "Invalid language indentifier.\n" );
SetLastError( ERROR_RESOURCE_LANG_NOT_FOUND );