contrary to some docs, PROCESSOR_ARCHITECTURE is not defined on linux

master
UbitUmarov 2020-03-20 16:18:36 +00:00
parent 9ce4b8914b
commit f1204e2147
1 changed files with 1 additions and 4 deletions

View File

@ -197,11 +197,8 @@ namespace OpenSim.Framework.Servers
m_log.InfoFormat("[STARTUP]: Processor Architecture: {0}({1})", m_log.InfoFormat("[STARTUP]: Processor Architecture: {0}({1})",
System.Environment.GetEnvironmentVariable("PROCESSOR_ARCHITECTURE", EnvironmentVariableTarget.Machine), System.Environment.GetEnvironmentVariable("PROCESSOR_ARCHITECTURE", EnvironmentVariableTarget.Machine),
BitConverter.IsLittleEndian ?"le":"be"); BitConverter.IsLittleEndian ?"le":"be");
else
m_log.InfoFormat("[STARTUP]: Processor Architecture: {0}({1})",
System.Environment.GetEnvironmentVariable("PROCESSOR_ARCHITECTURE"),
BitConverter.IsLittleEndian ? "le" : "be");
// on other platforms we need to wait for .net4.7.1
try try
{ {
StartupSpecific(); StartupSpecific();