landing patch for bug 262218 "libxpcom.so should only export frozen symbols" r=bsmedberg sr=bryner
git-svn-id: svn://10.0.0.236/trunk@164375 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -52,7 +52,7 @@ MODULE_NAME = nsSampleModule
|
||||
|
||||
# Ensure that the xpcom classes that we build
|
||||
# do not export themselves
|
||||
DEFINES += -DXPCOM_GLUE
|
||||
DEFINES += -DMOZILLA_STRICT_API -DXPCOM_GLUE
|
||||
|
||||
|
||||
REQUIRES = string \
|
||||
|
||||
@@ -44,8 +44,11 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "nsXPCOM.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsISample.h"
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsIComponentManager.h"
|
||||
#include "nsIComponentRegistrar.h"
|
||||
|
||||
#ifdef XPCOM_GLUE
|
||||
|
||||
Reference in New Issue
Block a user