1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-28 09:09:39 +00:00

[Server] change "__arm__" to "__ARM_ARCH" in ARM detection

This commit is contained in:
Koncord 2017-06-30 19:31:07 +08:00
parent 15a197cb9a
commit f92117e73d

View file

@ -6,7 +6,7 @@
#include <stdexcept>
#include "ScriptFunction.hpp"
#if !defined(_WIN32) && !defined(__arm__) // temporarily disabled
#if !defined(_WIN32) && !defined(__ARM_ARCH) // temporarily disabled
#include <call.hpp>
#endif
@ -155,7 +155,7 @@ boost::any ScriptFunction::Call(const vector<boost::any> &args)
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);
result = ::Call(f, callArgs);
#else