summaryrefslogtreecommitdiffstats
path: root/Mac/Python/macshlglue.c
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Python/macshlglue.c')
-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;