Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0f1fda9e authored by leozwang's avatar leozwang Committed by Leo Wang
Browse files

Fix build on mac.

On mac require a case.
Also, this code is not portable, will fix it in long run.

Change-Id: I76194b62cea29bd3d21c7ba6c3da4d549bea4738
parent adb09fa0
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -523,7 +523,7 @@ static __inline__ char* adb_strtok_r(char *str, const char *delim, char **savep


static __inline__ unsigned long adb_thread_id()
static __inline__ unsigned long adb_thread_id()
{
{
    return pthread_self();
    return (unsigned long)pthread_self();
}
}


#undef   strtok_r
#undef   strtok_r