Change preprocessor macro LINUX to UNIX

This commit is contained in:
Jason Shirk (POWERSHELL)
2016-07-22 10:49:45 -07:00
parent 082e35e009
commit 673dd2c355
88 changed files with 168 additions and 168 deletions
@@ -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")]