contrary to some docs, PROCESSOR_ARCHITECTURE is not defined on linux
parent
9ce4b8914b
commit
f1204e2147
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue