Lines 276-282
Link Here
|
276 |
lpUserTime->dwLowDateTime = 0; |
276 |
lpUserTime->dwLowDateTime = 0; |
277 |
lpUserTime->dwHighDateTime = 0; |
277 |
lpUserTime->dwHighDateTime = 0; |
278 |
pthread_t thread = (pthread_t)SDL_GetThreadID(hThread->m_hThread); |
278 |
pthread_t thread = (pthread_t)SDL_GetThreadID(hThread->m_hThread); |
279 |
if(thread) |
279 |
if(sizeof(pthread_t) == sizeof(Uint32) && thread) |
280 |
{ |
280 |
{ |
281 |
clockid_t clock; |
281 |
clockid_t clock; |
282 |
if(pthread_getcpuclockid(thread, &clock) == 0) |
282 |
if(pthread_getcpuclockid(thread, &clock) == 0) |