mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
Cosmetics.
This commit is contained in:
parent
e5c40b74ee
commit
8925d026a9
@ -15,10 +15,10 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
# ifndef __ANDROID__
|
# ifndef __ANDROID__
|
||||||
# include <syscall.h>
|
# include <syscall.h>
|
||||||
# endif
|
# endif
|
||||||
# include <fcntl.h>
|
# include <fcntl.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __MINGW32__
|
#ifdef __MINGW32__
|
||||||
@ -137,7 +137,6 @@ void SetThreadName( std::thread::native_handle_type handle, const char* name )
|
|||||||
# elif defined __APPLE__
|
# elif defined __APPLE__
|
||||||
pthread_threadid_np( handle, &data->id );
|
pthread_threadid_np( handle, &data->id );
|
||||||
# elif defined __CYGWIN__
|
# elif defined __CYGWIN__
|
||||||
|
|
||||||
data->id = GetThreadId( ((stub2*)handle)->hnd );
|
data->id = GetThreadId( ((stub2*)handle)->hnd );
|
||||||
# else
|
# else
|
||||||
data->id = (uint64_t)handle;
|
data->id = (uint64_t)handle;
|
||||||
|
Loading…
Reference in New Issue
Block a user