From d14ad55a49c1fa7d4e64195b095ccf5946048c61 Mon Sep 17 00:00:00 2001 From: Koncord Date: Fri, 30 Jun 2017 19:46:27 +0800 Subject: [PATCH] [Server] Fix compilation on arm --- apps/openmw-mp/Script/ScriptFunction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw-mp/Script/ScriptFunction.cpp b/apps/openmw-mp/Script/ScriptFunction.cpp index 6d30d2129..fd36f109f 100644 --- a/apps/openmw-mp/Script/ScriptFunction.cpp +++ b/apps/openmw-mp/Script/ScriptFunction.cpp @@ -124,6 +124,7 @@ boost::any ScriptFunction::Call(const vector &args) #endif else { +#if !defined(_WIN32) && !defined(__ARM_ARCH) // temporarily disabled string::iterator it; vector::const_iterator it2; vector data; @@ -155,7 +156,6 @@ boost::any ScriptFunction::Call(const vector &args) throw runtime_error("C++ call: Unknown argument identifier " + *it); } } -#if !defined(_WIN32) && !defined(__ARM_ARCH) // temporarily disabled Func f = reinterpret_cast(fCpp); result = ::Call(f, callArgs); #else