add iOS support
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user