r=pedemonte, sr=blizzard (platform specific)
Remove DLL_InitTerm from NSPR - move it to Mozilla code
This commit is contained in:
mkaply@us.ibm.com
2004-08-20 15:03:00 +00:00
parent 8b5d74b9dd
commit fb00d5de05
4 changed files with 31 additions and 2 deletions

View File

@@ -780,6 +780,12 @@ nsNativeAppSupportOS2::Start( PRBool *aResult ) {
sizeof( MQINFO ) );
if( !hmqCurrent )
{
/* Set our app to be a PM app before attempting Win calls */
PPIB ppib;
PTIB ptib;
DosGetInfoBlocks(&ptib, &ppib);
ppib->pib_ultype = 3;
hab = WinInitialize( 0 );
hmqCurrent = WinCreateMsgQueue( hab, 0 );
}