[Tizen] Temporary fix, Will be removed later, Fix Emul crash issue submit/tizen/20191008.063959
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Tue, 8 Oct 2019 05:22:51 +0000 (14:22 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Tue, 8 Oct 2019 05:22:53 +0000 (14:22 +0900)
This reverts commit 2fe7ffa93c40ea55616c4aa23446411e3fdb3471.

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