mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-30 08:35:52 -04:00
[Server] Fix compilation on arm
This commit is contained in:
parent
f92117e73d
commit
d14ad55a49
@ -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…
x
Reference in New Issue
Block a user