Not part of the build.

Explicitly use Python UCS2 functions, for platforms where
sizeof(wchar) != sizeof(PRUnichar).

Incorporate Linux build changes for dynamic linking.


git-svn-id: svn://10.0.0.236/trunk@145364 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mhammond%skippinet.com.au
2003-07-30 01:08:13 +00:00
parent 2c863a555b
commit 9a14fdb870
3 changed files with 37 additions and 41 deletions

View File

@@ -51,11 +51,11 @@ extern PRInt32 _PyXPCOM_GetInterfaceCount(void);
extern void AddDefaultGateway(PyObject *instance, nsISupports *gateway);
#ifdef XP_WIN
// Can only assume dynamic loading on Windows.
#define LOADER_LINKS_WITH_PYTHON
#endif // XP_WIN
#ifndef LOADER_LINKS_WITH_PYTHON
extern void PyXPCOM_InterpreterState_Ensure();
#endif
PyXPCOM_INTERFACE_DEFINE(Py_nsIComponentManager, nsIComponentManagerObsolete, PyMethods_IComponentManager)
PyXPCOM_INTERFACE_DEFINE(Py_nsIInterfaceInfoManager, nsIInterfaceInfoManager, PyMethods_IInterfaceInfoManager)
@@ -442,10 +442,6 @@ static struct PyMethodDef xpcom_methods[]=
////////////////////////////////////////////////////////////
// Other helpers/global functions.
//
#ifndef PYXPCOM_USE_PYGILSTATE
extern void PyXPCOM_InterpreterState_Ensure();
#endif
PRBool PyXPCOM_Globals_Ensure()
{
PRBool rc = PR_TRUE;