tell detected endian also

master
UbitUmarov 2020-03-18 19:09:59 +00:00
parent f2c0957f5a
commit 9864d1abfc
1 changed files with 6 additions and 2 deletions

View File

@ -194,9 +194,13 @@ namespace OpenSim.Framework.Servers
// next code can be changed on .net 4.7.x // next code can be changed on .net 4.7.x
if(Util.IsWindows()) if(Util.IsWindows())
m_log.Info("[STARTUP]: Processor Architecture: " + System.Environment.GetEnvironmentVariable("PROCESSOR_ARCHITECTURE", EnvironmentVariableTarget.Machine)); m_log.InfoFormat("[STARTUP]: Processor Architecture: {0}({1})",
System.Environment.GetEnvironmentVariable("PROCESSOR_ARCHITECTURE", EnvironmentVariableTarget.Machine),
BitConverter.IsLittleEndian ?"le":"be");
else else
m_log.Info("[STARTUP]: Processor Architecture: " + System.Environment.GetEnvironmentVariable("PROCESSOR_ARCHITECTURE")); m_log.InfoFormat("[STARTUP]: Processor Architecture: {0}({1})",
System.Environment.GetEnvironmentVariable("PROCESSOR_ARCHITECTURE"),
BitConverter.IsLittleEndian ? "le" : "be");
try try
{ {