mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-01 11:27:55 +00:00
Add some missing |#if defined (XP_UNIX)| checks to fix bustage on Windows caused by bug 372081.
This commit is contained in:
parent
d23593390e
commit
d11871f70b
@ -71,7 +71,9 @@
|
||||
// This code was moved from profile/src/nsProfileAccess.
|
||||
// **********************************************************************
|
||||
|
||||
#if defined (XP_UNIX)
|
||||
static PRBool sDisableSignalHandling = PR_FALSE;
|
||||
#endif
|
||||
|
||||
nsProfileLock::nsProfileLock() :
|
||||
mHaveLock(PR_FALSE)
|
||||
@ -86,8 +88,8 @@ nsProfileLock::nsProfileLock() :
|
||||
{
|
||||
#if defined (XP_UNIX)
|
||||
next = prev = this;
|
||||
#endif
|
||||
sDisableSignalHandling = PR_GetEnv("MOZ_DISABLE_SIG_HANDLER") ? PR_TRUE : PR_FALSE;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user