Bug 1033358 - Fix linking of the AVOID_NSPR build - r=bsmedberg

This commit is contained in:
Benoit Jacob 2014-07-04 06:33:56 -04:00
parent 48d04ffd32
commit c17afb7617

View File

@ -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
}
}