add iOS support

This commit is contained in:
2017-05-07 23:49:46 +01:00
parent b50011babf
commit d1ce547abd
16 changed files with 682 additions and 20 deletions

View File

@@ -540,7 +540,8 @@ bool LayoutManager::load(const char* path)
if (m_loaded)
return true; // already loaded
#ifndef __ANDROID__
/*
#if !defined(__ANDROID__)
struct stat tmp_info;
if (stat(path, &tmp_info) != 0)
return false;
@@ -548,7 +549,8 @@ bool LayoutManager::load(const char* path)
return false;
m_file_info = tmp_info;
#endif // __ANDROID__
*/
m_path = path;
auto old = std::move(m_layouts);