mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 508760 - Remove MSVC6 support from the tree; (Bv1) xpcom/ds/*.cpp; r=doug.turner
--HG-- extra : rebase_source : 5a08118a7f1562c89c4e0da5035ef6a578eca9f2
This commit is contained in:
parent
de49b52e4c
commit
28965346e8
@ -102,9 +102,7 @@ nsObserverService::Create(nsISupports* outer, const nsIID& aIID, void* *aInstanc
|
||||
|
||||
nsRefPtr<nsObserverService> os = new nsObserverService();
|
||||
|
||||
// The cast is required for MSVC6, otherwise it complains about calling
|
||||
// a private function.
|
||||
if (!os || !((nsObserverService*) os)->mObserverTopicTable.IsInitialized())
|
||||
if (!os || !os->mObserverTopicTable.IsInitialized())
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
|
||||
return os->QueryInterface(aIID, aInstancePtr);
|
||||
|
@ -43,12 +43,6 @@
|
||||
#include "nsString.h"
|
||||
#include "nsCOMPtr.h"
|
||||
|
||||
// The Platform SDK included with VC6 does not define REG_QWORD. VC 7's
|
||||
// WinNT.h defines REG_QWORD as follows:
|
||||
#ifndef REG_QWORD
|
||||
# define REG_QWORD 11
|
||||
#endif
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
// According to MSDN, the following limits apply (in characters excluding room
|
||||
|
Loading…
Reference in New Issue
Block a user