From 8b333e361f0795f5d1e5b11349b1177876d69094 Mon Sep 17 00:00:00 2001 From: Wonsik Jung Date: Tue, 27 Aug 2019 13:28:01 +0900 Subject: [PATCH] [Tizen] Temporary fix, Will be removed later, Fix Emul crash issue This reverts commit f9826f6993a976749c7ad19cb0bf9c7cd26e37ea. --- dali/public-api/math/vector3.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dali/public-api/math/vector3.cpp b/dali/public-api/math/vector3.cpp index 2b410d0..3514958 100644 --- a/dali/public-api/math/vector3.cpp +++ b/dali/public-api/math/vector3.cpp @@ -97,6 +97,16 @@ Vector3& Vector3::operator*=(const Quaternion& rhs) return *this; } +// Temporary fix, Will be removed later, Fix Emul crash issue +#ifndef _ARCH_ARM_ +#undef fabsf +float fabsf(float value) +{ + if (value < 0) return -value; + return value; +} +#endif + bool Vector3::operator==(const Vector3& rhs) const { if (fabsf(x - rhs.x) > GetRangedEpsilon(x, rhs.x) ) -- 2.7.4