#include <dali/internal/adaptor-framework/common/file-loader-impl.h>
// EXTERNAL INCLUDES
-#include <string>
+#include <cstring>
#include <fstream>
#include <dali/integration-api/debug.h>
}
else
{
- DALI_LOG_ERROR( "file open failed for: \"%s\"\n", filename.c_str() );
+ char buf[512];
+ DALI_LOG_ERROR( "file open failed for: \"%s\", error : %s\n", filename.c_str(), strerror_r( errno, buf, 512 ) );
}
return errorCode;