Fix ProjectN build break (dotnet/corert#5302)
authorJan Kotas <jkotas@microsoft.com>
Mon, 29 Jan 2018 06:01:47 +0000 (22:01 -0800)
committerJan Kotas <jkotas@microsoft.com>
Mon, 29 Jan 2018 13:26:58 +0000 (05:26 -0800)
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
src/mscorlib/shared/Interop/Windows/Kernel32/Interop.Globalization.cs

index 00bec5d..ed0ada8 100644 (file)
@@ -85,10 +85,10 @@ internal static partial class Interop
                     char* lpString,
                     int cchStr);
 
-#if !PROJECTN
+#if !ENABLE_WINRT
         [DllImport("Kernel32.dll", CharSet = CharSet.Auto)]
         internal static extern bool GetUserPreferredUILanguages(uint dwFlags, out uint pulNumLanguages, char [] pwszLanguagesBuffer, ref uint pcchLanguagesBuffer);
-#endif //!PROJECTN
+#endif //!ENABLE_WINRT
 
         [DllImport("kernel32.dll", CharSet = CharSet.Unicode)]
         internal static extern int GetLocaleInfoEx(string lpLocaleName, uint LCType, void* lpLCData, int cchData);