From d277943d8c72ac92baf1c2ed6b0cb7c7f1339318 Mon Sep 17 00:00:00 2001 From: jingham Date: Thu, 10 Feb 2000 09:59:10 +0000 Subject: Remove need for "OLDROUTINENAMES" def'n in one more file... --- mac/tclMacLibrary.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/mac/tclMacLibrary.c b/mac/tclMacLibrary.c index 99fdf72..989329f 100644 --- a/mac/tclMacLibrary.c +++ b/mac/tclMacLibrary.c @@ -13,14 +13,12 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclMacLibrary.c,v 1.3 1999/08/15 04:03:52 jingham Exp $ + * RCS: @(#) $Id: tclMacLibrary.c,v 1.4 2000/02/10 09:59:10 jingham Exp $ */ /* * Here is another place that we are using the old routine names... */ - -#define OLDROUTINENAMES 1 #include #include @@ -171,9 +169,9 @@ OpenLibraryResource( OSErr err = noErr; - if (realInitBlkPtr->fragLocator.where == kOnDiskFlat) { + if (realInitBlkPtr->fragLocator.where == kDataForkCFragLocator) { fileSpec = realInitBlkPtr->fragLocator.u.onDisk.fileSpec; - } else if (realInitBlkPtr->fragLocator.where == kOnDiskSegmented) { + } else if (realInitBlkPtr->fragLocator.where == kResourceCFragLocator) { fileSpec = realInitBlkPtr->fragLocator.u.inSegs.fileSpec; } else { err = resFNotFound; -- cgit v0.12