Final fix. This is the way this patch should have landed. including nsXPIDLCString when XPCOM_GLUE is defined is not a good idea

This commit is contained in:
dougt%netscape.com 2005-06-29 18:32:48 +00:00
Родитель 0edcf0a0a3
Коммит b68bf96776
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -46,12 +46,13 @@
#include "nsISample.h"
#include "nsIServiceManager.h"
#include "nsXPIDLString.h"
#include "nsIComponentRegistrar.h"
#ifdef XPCOM_GLUE
#include "nsXPCOMGlue.h"
#include "nsMemory.h"
#else
#include "nsXPIDLString.h"
#endif
#define NS_SAMPLE_CONTRACTID "@mozilla.org/sample;1"