forked from mirror/openmw-tes3mp
[Server] change "__arm__" to "__ARM_ARCH" in ARM detection
This commit is contained in:
parent
15a197cb9a
commit
f92117e73d
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include "ScriptFunction.hpp"
|
#include "ScriptFunction.hpp"
|
||||||
|
|
||||||
#if !defined(_WIN32) && !defined(__arm__) // temporarily disabled
|
#if !defined(_WIN32) && !defined(__ARM_ARCH) // temporarily disabled
|
||||||
#include <call.hpp>
|
#include <call.hpp>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -155,7 +155,7 @@ boost::any ScriptFunction::Call(const vector<boost::any> &args)
|
||||||
throw runtime_error("C++ call: Unknown argument identifier " + *it);
|
throw runtime_error("C++ call: Unknown argument identifier " + *it);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if !defined(_WIN32) && !defined(__arm__) // temporarily disabled
|
#if !defined(_WIN32) && !defined(__ARM_ARCH) // temporarily disabled
|
||||||
Func f = reinterpret_cast<Func>(fCpp);
|
Func f = reinterpret_cast<Func>(fCpp);
|
||||||
result = ::Call(f, callArgs);
|
result = ::Call(f, callArgs);
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue