Fix non msvc build broken by 5758af77

This commit is contained in:
Fabrizio Fabbri 2017-01-11 08:16:07 +01:00
parent d7ca24c3fd
commit 4ed1ba10cc

View file

@ -365,7 +365,12 @@ ecl_import_current_thread(cl_object name, cl_object bindings)
cl_object p = processes->vector.self.t[i];
if (!Null(p)
&&
GetThreadId(p->process.thread) == GetThreadId(current))
#ifdef ECL_WINDOWS_THREADS
GetThreadId(p->process.thread) == GetThreadId(current)
#else
p->process.thread == current
#endif
)
return 0;
}
}