mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 13:57:32 +00:00
Fixed mac problem -- missing getenv.
This commit is contained in:
parent
84ea15d65a
commit
470f5bf785
@ -335,7 +335,8 @@ NS_ErrorAccordingToNSPR()
|
||||
// This wrapper around PR_CurrentThread is simply here for debug builds so
|
||||
// that clients linking with xpcom don't also have to link with nspr explicitly.
|
||||
|
||||
#ifdef NS_DEBUG
|
||||
#if defined(NS_DEBUG) && defined(NS_MT_SUPPORTED)
|
||||
|
||||
#include "nsISupportsUtils.h"
|
||||
#include "prthread.h"
|
||||
|
||||
@ -372,6 +373,6 @@ NS_CheckThreadSafe(void* owningThread, const char* msg)
|
||||
}
|
||||
}
|
||||
|
||||
#endif // NS_DEBUG
|
||||
#endif // !(defined(NS_DEBUG) && defined(NS_MT_SUPPORTED))
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -335,7 +335,8 @@ NS_ErrorAccordingToNSPR()
|
||||
// This wrapper around PR_CurrentThread is simply here for debug builds so
|
||||
// that clients linking with xpcom don't also have to link with nspr explicitly.
|
||||
|
||||
#ifdef NS_DEBUG
|
||||
#if defined(NS_DEBUG) && defined(NS_MT_SUPPORTED)
|
||||
|
||||
#include "nsISupportsUtils.h"
|
||||
#include "prthread.h"
|
||||
|
||||
@ -372,6 +373,6 @@ NS_CheckThreadSafe(void* owningThread, const char* msg)
|
||||
}
|
||||
}
|
||||
|
||||
#endif // NS_DEBUG
|
||||
#endif // !(defined(NS_DEBUG) && defined(NS_MT_SUPPORTED))
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
x
Reference in New Issue
Block a user