Bug 513464: Mingw bustage fix. r=jimm

This commit is contained in:
Jacek Caban 2010-02-26 18:54:18 -05:00
parent d248bc4fc3
commit 81c895a376
2 changed files with 6 additions and 6 deletions

View File

@ -44,6 +44,10 @@
#include <ole2.h>
// {25589C3E-1FAC-47b9-BF43-CAEA89B79533}
const IID IID_IDataObjCollection =
{0x25589c3e, 0x1fac, 0x47b9, {0xbf, 0x43, 0xca, 0xea, 0x89, 0xb7, 0x95, 0x33}};
/*
* Class nsDataObjCollection
*/
@ -534,4 +538,4 @@ HRESULT nsDataObjCollection::GetFirstSupporting(LPFORMATETC pFE,
return mDataObjects.ElementAt(i)->GetData(pFE, pSTM);
}
return DV_E_FORMATETC;
}
}

View File

@ -39,8 +39,6 @@
#ifndef _NSDATAOBJCOLLECTION_H_
#define _NSDATAOBJCOLLECTION_H_
#include <initguid.h>
#ifdef __MINGW32__
#include <unknwn.h>
#include <basetyps.h>
@ -57,9 +55,7 @@ class CEnumFormatEtc;
#define MULTI_MIME "Mozilla/IDataObjectCollectionFormat"
// {25589C3E-1FAC-47b9-BF43-CAEA89B79533}
DEFINE_GUID(IID_IDataObjCollection,
0x25589c3e, 0x1fac, 0x47b9, 0xbf, 0x43, 0xca, 0xea, 0x89, 0xb7, 0x95, 0x33);
EXTERN_C const IID IID_IDataObjCollection;
// An interface to make sure we have the right kind of object for D&D
// this way we can filter out collection objects that aren't ours