Bug 1033358 - Fix linking of the AVOID_NSPR build - r=bsmedberg
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user