Damn the nmake build system and the mac.

This commit is contained in:
dougt@netscape.com
2005-06-29 18:32:46 +00:00
parent 763aab2b52
commit 79be5b334e

View File

@@ -48,7 +48,10 @@
#include "nsIServiceManager.h"
#include "nsXPIDLString.h"
#include "nsIComponentRegistrar.h"
#ifdef XPCOM_GLUE
#include "nsXPCOMGlue.h"
#endif
#define NS_SAMPLE_CONTRACTID "@mozilla.org/sample;1"
@@ -57,7 +60,9 @@ main(void)
{
nsresult rv;
#ifdef XPCOM_GLUE
XPCOMGlueStartup(nsnull);
#endif
// Initialize XPCOM
nsCOMPtr<nsIServiceManager> servMan;
@@ -135,6 +140,8 @@ main(void)
// Shutdown XPCOM
NS_ShutdownXPCOM(nsnull);
#ifdef XPCOM_GLUE
XPCOMGlueShutdown();
#endif
return 0;
}