- fix build for RPi
This commit is contained in:
parent
d535e5312b
commit
f70f872d6a
|
|
@ -59,7 +59,8 @@ uint64_t ThreadHelper::getCurrentId()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(TARGET_LINUX)||defined(TARGET_OSX)
|
#if defined(TARGET_LINUX)||defined(TARGET_OSX)
|
||||||
return reinterpret_cast<uint64_t>(pthread_self());
|
// RPi builds want this!
|
||||||
|
return (uint64_t)(pthread_self());
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
// ------------------- TimeHelper ---------------
|
// ------------------- TimeHelper ---------------
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue