mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +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>
|
# include <pthread.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __ANDROID__
|
#ifdef __linux__
|
||||||
# include <sys/types.h>
|
|
||||||
#elif defined __linux__
|
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
# include <sys/syscall.h>
|
# ifdef __ANDROID__
|
||||||
|
# include <sys/types.h>
|
||||||
|
# else
|
||||||
|
# include <sys/syscall.h>
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user