removed a false #ifndef _WIN32

This commit is contained in:
carlos 2020-03-26 17:20:18 -03:00 committed by João Paulo Taylor Ienczak Zanette
parent da4b9ec858
commit ac9e9cbce8
1 changed files with 2 additions and 5 deletions

View File

@ -80,11 +80,8 @@ _sysmon(void *data EINA_UNUSED, Eina_Thread thr EINA_UNUSED)
for (i = 0; i < _eina_debug_thread_active_num; i++)
{
// get the correct clock id to use for the target thread
#ifndef _WIN32
pthread_getcpuclockid(self, &cid);
#endif
// pthread_getcpuclockid
(_eina_debug_thread_active[i].thread, &cid);
pthread_getcpuclockid(self, &cid);
(_eina_debug_thread_active[i].thread, &cid);
// get the clock cpu time accumulation for that threas
clock_gettime(cid, &t);
_eina_debug_thread_active[i].clok = t;