[Tizen] Temporary fix, Will be removed later, Fix Emul crash issue
authorJoogab Yun <joogab.yun@samsung.com>
Tue, 10 Sep 2019 08:59:53 +0000 (17:59 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Tue, 10 Sep 2019 08:59:57 +0000 (17:59 +0900)
This reverts commit bca8683ee5cb9a737c319c4b83223f728bc71c19.

Change-Id: I4da7de153480a2c4c6fad9489a21d237124e8204

dali/public-api/math/vector3.cpp

index 2b410d0..3514958 100644 (file)
@@ -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) )