patches from madams@janna.com to build xpconnect standalone. bug 42026. r=leaf@mozilla.org a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@74440 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
* Pierre Phaneuf <pp@ludusdesign.com>
|
||||
*/
|
||||
|
||||
#ifndef XPCOM_STANDALONE
|
||||
#define NS_IMPL_IDS
|
||||
|
||||
#include "nsIEventQueueService.h"
|
||||
@@ -93,9 +94,11 @@ NS_SetupRegistry()
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
int
|
||||
main(int argc, char* argv[])
|
||||
{
|
||||
#ifndef XPCOM_STANDALONE
|
||||
nsresult ret;
|
||||
|
||||
NS_SetupRegistry();
|
||||
@@ -203,6 +206,6 @@ main(int argc, char* argv[])
|
||||
delete[] pVal;
|
||||
ret = propEnum->Next();
|
||||
}
|
||||
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user