- fix build for RPi

This commit is contained in:
Dmytro Bogovych 2019-02-01 09:02:26 +03:00
parent d535e5312b
commit f70f872d6a
1 changed files with 2 additions and 1 deletions

View File

@ -59,7 +59,8 @@ uint64_t ThreadHelper::getCurrentId()
#endif
#if defined(TARGET_LINUX)||defined(TARGET_OSX)
return reinterpret_cast<uint64_t>(pthread_self());
// RPi builds want this!
return (uint64_t)(pthread_self());
#endif
}
// ------------------- TimeHelper ---------------