Starting work on Android port
This commit is contained in:
parent
5d1b7678f0
commit
ab13ccd595
183 changed files with 6790 additions and 906 deletions
|
|
@ -6,7 +6,7 @@
|
|||
#endif
|
||||
|
||||
template <typename ContainerType> void parallel_loop_container(const ContainerType& c, std::function<void(const typename ContainerType::value_type&)> func, bool forceSingleThread = false) {
|
||||
#ifdef __EMSCRIPTEN__
|
||||
#if defined(__EMSCRIPTEN__) || defined(__ANDROID__)
|
||||
std::for_each(c.begin(), c.end(), func);
|
||||
#else
|
||||
if(forceSingleThread)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue