From 8ec9e639abb7089dfa171f612b07591e36647414 Mon Sep 17 00:00:00 2001
From: Guido van Rossum <guido@python.org>
Date: Tue, 29 Apr 1997 15:49:04 +0000
Subject: Adapt Mac specific code to new universal headers (I think -- this is
 Jack's code).

---
 Modules/_tkinter.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index 049b292..4eb1001 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -1610,14 +1610,14 @@ static FSSpec library_fss;
 ** resources.
 */
 OSErr pascal
-init_tkinter_shlib(InitBlockPtr data)
+init_tkinter_shlib(CFragInitBlockPtr data)
 {
 	__initialize();
 	if ( data == nil ) return noErr;
-	if ( data->fragLocator.where == kOnDiskFlat ) {
+	if ( data->fragLocator.where == kDataForkCFragLocator ) {
 		library_fss = *data->fragLocator.u.onDisk.fileSpec;
 		loaded_from_shlib = 1;
-	} else if ( data->fragLocator.where == kOnDiskSegmented ) {
+	} else if ( data->fragLocator.where == kResourceCFragLocator ) {
 		library_fss = *data->fragLocator.u.inSegs.fileSpec;
 		loaded_from_shlib = 1;
 	}
-- 
cgit v0.12

