r=pedemonte, sr=blizzard (platform specific) Remove DLL_InitTerm from NSPR - move it to Mozilla code
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user