forked from teamnwah/openmw-tes3coop
[Server] Fix compilation on arm
This commit is contained in:
parent
f92117e73d
commit
d14ad55a49
1 changed files with 1 additions and 1 deletions
|
@ -124,6 +124,7 @@ boost::any ScriptFunction::Call(const vector<boost::any> &args)
|
||||||
#endif
|
#endif
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
#if !defined(_WIN32) && !defined(__ARM_ARCH) // temporarily disabled
|
||||||
string::iterator it;
|
string::iterator it;
|
||||||
vector<boost::any>::const_iterator it2;
|
vector<boost::any>::const_iterator it2;
|
||||||
vector<intptr_t> data;
|
vector<intptr_t> data;
|
||||||
|
@ -155,7 +156,6 @@ 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_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