mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Change preprocessor macro LINUX to UNIX
This commit is contained in:
@@ -314,13 +314,13 @@ namespace Microsoft.PowerShell.Internal
|
||||
public char UnicodeChar;
|
||||
public ConsoleColor ForegroundColor;
|
||||
public ConsoleColor BackgroundColor;
|
||||
#if !LINUX
|
||||
#if !UNIX
|
||||
public bool IsLeadByte;
|
||||
public bool IsTrailByte;
|
||||
#endif
|
||||
public bool Inverse;
|
||||
|
||||
#if !LINUX
|
||||
#if !UNIX
|
||||
public CHAR_INFO ToCharInfo()
|
||||
{
|
||||
int fg = (int) ForegroundColor;
|
||||
@@ -386,7 +386,7 @@ namespace Microsoft.PowerShell.Internal
|
||||
sb.Append("Alt");
|
||||
}
|
||||
|
||||
#if LINUX
|
||||
#if UNIX
|
||||
if (sb.Length > 0)
|
||||
sb.Append("+");
|
||||
// TODO: find better way to map these characters to something more friendly
|
||||
@@ -429,7 +429,7 @@ namespace Microsoft.PowerShell.Internal
|
||||
}
|
||||
}
|
||||
|
||||
#if !LINUX
|
||||
#if !UNIX
|
||||
internal class ConhostConsole : IConsole
|
||||
{
|
||||
[SuppressMessage("Microsoft.Reliability", "CA2006:UseSafeHandleToEncapsulateNativeResources")]
|
||||
|
||||
Reference in New Issue
Block a user