File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7300,21 +7300,21 @@ libdispatch_init(void)
7300
7300
#ifdef SYS_gettid
7301
7301
DISPATCH_ALWAYS_INLINE
7302
7302
static inline pid_t
7303
- gettid (void )
7303
+ _gettid (void )
7304
7304
{
7305
7305
return (pid_t )syscall (SYS_gettid );
7306
7306
}
7307
7307
#elif defined(__FreeBSD__ )
7308
7308
DISPATCH_ALWAYS_INLINE
7309
7309
static inline pid_t
7310
- gettid (void )
7310
+ _gettid (void )
7311
7311
{
7312
7312
return (pid_t )pthread_getthreadid_np ();
7313
7313
}
7314
7314
#elif defined(_WIN32 )
7315
7315
DISPATCH_ALWAYS_INLINE
7316
7316
static inline DWORD
7317
- gettid (void )
7317
+ _gettid (void )
7318
7318
{
7319
7319
return GetCurrentThreadId ();
7320
7320
}
@@ -7429,7 +7429,7 @@ libdispatch_tsd_init(void)
7429
7429
#else
7430
7430
FlsSetValue (__dispatch_tsd_key , & __dispatch_tsd );
7431
7431
#endif // defined(_WIN32)
7432
- __dispatch_tsd .tid = gettid ();
7432
+ __dispatch_tsd .tid = _gettid ();
7433
7433
}
7434
7434
#endif
7435
7435
You can’t perform that action at this time.
0 commit comments