Damn the nmake build system and the mac.

git-svn-id: svn://10.0.0.236/trunk@175327 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dougt%netscape.com
2005-06-29 18:32:46 +00:00
parent ef7076db4b
commit aaeebbf691

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;
}