INIT_CRITICAL_REGION();
void _MD_EarlyInit(){	Handle				environmentVariables;#if !defined(MAC_NSPR_STANDALONE)	// MacintoshInitializeMemory();  Moved to mdmacmem.c: AllocateRawMemory(Size blockSize)#else	MacintoshInitializeMemory();#endif	MacintoshInitializeTime();		//	Install resource-controlled environment variables.		environmentVariables = GetResource('Envi', 128);	if (environmentVariables != NULL) {			Size 	resourceSize;		char	*currentPutEnvString = (char *)*environmentVariables,				*currentScanChar = currentPutEnvString;						resourceSize = GetHandleSize(environmentVariables);					DetachResource(environmentVariables);		HLock(environmentVariables);				while (resourceSize--) {					if ((*currentScanChar == '\n') || (*currentScanChar == '\r')) {				*currentScanChar = 0;				_MD_PutEnv (currentPutEnvString);				currentPutEnvString = currentScanChar + 1;			}					currentScanChar++;				}				DisposeHandle(environmentVariables);	}#ifdef PR_INTERNAL_LOGGING	_MD_PutEnv ("NSPR_LOG_MODULES=clock:6,cmon:6,io:6,mon:6,linker:6,cvar:6,sched:6,thread:6");#endif	InstallStackSpacePatch();}