summaryrefslogtreecommitdiffstats
path: root/Mac/Python
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1996-02-29 16:10:32 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1996-02-29 16:10:32 (GMT)
commit8ab114876204e36c5f6b3fd47d4140738f7ddcac (patch)
treedf3988222eb94e42cb40044644461f9b037427e9 /Mac/Python
parent405ab2378e89b6eb5148c096de113558cb52dad4 (diff)
downloadcpython-8ab114876204e36c5f6b3fd47d4140738f7ddcac.zip
cpython-8ab114876204e36c5f6b3fd47d4140738f7ddcac.tar.gz
cpython-8ab114876204e36c5f6b3fd47d4140738f7ddcac.tar.bz2
Added __sinit() call, so C++ initializations in shared library work
Diffstat (limited to 'Mac/Python')
-rw-r--r--Mac/Python/macshlglue.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Mac/Python/macshlglue.c b/Mac/Python/macshlglue.c
index fc2adaf..9459140 100644
--- a/Mac/Python/macshlglue.c
+++ b/Mac/Python/macshlglue.c
@@ -42,6 +42,9 @@ static FSSpec library_fss;
OSErr pascal
PythonCore_init(InitBlockPtr data)
{
+ /* Initialize C++ static data (if needed) */
+ __sinit();
+
if ( data == nil ) return noErr;
if ( data->fragLocator.where == kOnDiskFlat ) {
library_fss = *data->fragLocator.u.onDisk.fileSpec;