From 9195353f93b25c5ef04c35dad3405a2afff80a7a Mon Sep 17 00:00:00 2001 From: Joogab Yun Date: Tue, 10 Sep 2019 17:59:53 +0900 Subject: [PATCH] [Tizen] Temporary fix, Will be removed later, Fix Emul crash issue This reverts commit bca8683ee5cb9a737c319c4b83223f728bc71c19. Change-Id: I4da7de153480a2c4c6fad9489a21d237124e8204 --- 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