Fix build on mac.
On mac require a case. Also, this code is not portable, will fix it in long run. Change-Id: I76194b62cea29bd3d21c7ba6c3da4d549bea4738
This commit is contained in:
parent
adb09fa01a
commit
0f1fda9ee8
|
@ -523,7 +523,7 @@ static __inline__ char* adb_strtok_r(char *str, const char *delim, char **savep
|
|||
|
||||
static __inline__ unsigned long adb_thread_id()
|
||||
{
|
||||
return pthread_self();
|
||||
return (unsigned long)pthread_self();
|
||||
}
|
||||
|
||||
#undef strtok_r
|
||||
|
|
Loading…
Reference in New Issue