Cosmetics.

This commit is contained in:
Bartosz Taudul 2019-08-14 01:12:23 +02:00
parent e5c40b74ee
commit 8925d026a9

View File

@ -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;