mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1033358 - Fix linking of the AVOID_NSPR build - r=bsmedberg
This commit is contained in:
parent
48d04ffd32
commit
c17afb7617
@ -356,7 +356,9 @@ nsThreadPoolNaming::SetThreadPoolName(const nsACString& aPoolName,
|
||||
NS_SetThreadName(aThread, name);
|
||||
} else {
|
||||
// Set on the current thread
|
||||
#ifndef XPCOM_GLUE_AVOID_NSPR
|
||||
PR_SetCurrentThreadName(name.BeginReading());
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user