mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Fix includes for gettid() on android.
This commit is contained in:
parent
9be6f4a414
commit
fd245bb5df
@ -9,11 +9,13 @@ extern "C" __declspec(dllimport) unsigned long __stdcall GetCurrentThreadId(void
|
||||
# include <pthread.h>
|
||||
#endif
|
||||
|
||||
#ifdef __ANDROID__
|
||||
# include <sys/types.h>
|
||||
#elif defined __linux__
|
||||
#ifdef __linux__
|
||||
# include <unistd.h>
|
||||
# include <sys/syscall.h>
|
||||
# ifdef __ANDROID__
|
||||
# include <sys/types.h>
|
||||
# else
|
||||
# include <sys/syscall.h>
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
|
Loading…
Reference in New Issue
Block a user