mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 14:25:52 +00:00
Bug 1033358 - Fix linking of the AVOID_NSPR build - r=bsmedberg
This commit is contained in:
parent
36f04c34b4
commit
6e4aca3cdf
@ -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