Fixed mac problem -- missing getenv.

This commit is contained in:
warren%netscape.com 2000-03-08 11:24:10 +00:00
parent 84ea15d65a
commit 470f5bf785
2 changed files with 6 additions and 4 deletions

View File

@ -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))
////////////////////////////////////////////////////////////////////////////////

View File

@ -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))
////////////////////////////////////////////////////////////////////////////////