Make the core code a bit more generic to be able to compile without glibc. 85/208785/2
authorAnton Obzhirov <a.obzhirov@samsung.com>
Wed, 20 Mar 2019 19:34:44 +0000 (19:34 +0000)
committerAnton Obzhirov <a.obzhirov@samsung.com>
Mon, 1 Jul 2019 12:49:52 +0000 (13:49 +0100)
Change-Id: I876018729f2e7c19bbd21defe55c6a18508a06d9

dali/internal/render/renderers/render-property-buffer.h
dali/internal/update/animation/scene-graph-animator.h
dali/public-api/common/dali-common.cpp

index 13771f5..c0f82fa 100644 (file)
@@ -175,7 +175,7 @@ public:
   template <typename T>
   inline T* GetDataTypedPtr()
   {
-    Dali::Vector< char >* data = mData.Release();
+    Dali::Vector< uint8_t >* data = mData.Release();
     mData = data;
     return reinterpret_cast<T*>( &data->operator[]( 0 ) );
   }
index 06679a2..0b3ff50 100644 (file)
@@ -18,6 +18,9 @@
  *
  */
 
+// EXTERNAL INCLUDES
+#include <cmath>
+
 // INTERNAL INCLUDES
 #include <dali/public-api/animation/alpha-function.h>
 #include <dali/public-api/animation/animation.h>
index 42d1331..2db0945 100644 (file)
 #include <string>
 #include <cstdio>
 
+#if defined(BACKTRACE_ENABLED)
+#if defined(__GLIBC__)
 #include <execinfo.h>
+#endif
 #include <cxxabi.h>
-
+#endif
 #include <cstring>
 
 // INTERNAL INCLUDES