[Tizen] Temporary fix, Will be removed later, Fix Emul crash issue submit/tizen/20190812.050445
authorJoogab Yun <joogab.yun@samsung.com>
Mon, 12 Aug 2019 04:39:58 +0000 (13:39 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Mon, 12 Aug 2019 04:40:02 +0000 (13:40 +0900)
This reverts commit a34e79aabf10493afa2639635c22e389dab11f4a.

Change-Id: I6a2f6688e240109750ddaa870cbd230218f8b579

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) )