🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.programmer.codewarrior
Article #1307

Re: Bad problem in MoreFilesExtras?

#1307
From: meeroh
Date: Fri, 08 Dec 2000 22:39
30 lines
1958 bytes
In article <e0dY5.252$ph1.14679@e420r-atl1.usenetserver.com>, "Gordon 
Tillman" <got@mindspring.com> wrote:

>I see what you are saying; however, in MoreFilesExtra.c it has:
>
>#if TARGET_API_MAC_CARBON || !TARGET_RT_MAC_CFM
>#define CallPBXGetVolInfoSync PBXGetVolInfoSync
>#endif
>
>Would the net result of this be: If building for Carbon OR if NOT
>building a CFM app, then
>#define CallPBXGetVolInfoSync PBXGetVolInfoSync
>
>So then wouldn't a call to  CallPBXGetVolInfoSync get passed off to
>PBXGetVolInfoSync for pretty much ANY regular PPC application that is
>non-carbon?

No, because any PPC application is a CFM application, therefore 
TARGET_RT_MAC_CFM is always true for a PPC application, and therefore on 
PPC the above #if is the same as

#if TARGET_API_MAC_CARBON

which is the desired result...

Hth,

meeroh
-- 
To get random signatures put text files into a folder called "Random Signatures" into your Preferences folder.
Technical Details
Message-ID: <macdev-F4C632.17395208122000@news.mit.edu>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!bloom-beacon.mit.edu!senator-bedfellow.mit.edu!dreaderd!not-for-mail
References: <FtcY5.107$ph1.7187@e420r-atl1.usenetserver.com> <macdev-F694B1.16441508122000@news.mit.edu> <e0dY5.252$ph1.14679@e420r-atl1.usenetserver.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f635e,f8ac17f58a8273dc
X-Google-Attributes: gidf635e,public
X-Google-Thread: 10bcce,f8ac17f58a8273dc
X-Google-Attributes: gid10bcce,public
X-Google-ArrivalTime: 2000-12-08 14:39:54 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!bloom-beacon.mit.edu!senator-bedfellow.mit.edu!dreaderd!not-for-mail
From: meeroh <macdev@meeroh.org>
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac
Mail-Copies-To: poster
Subject: Re: Bad problem in MoreFilesExtras?
Organization: MIT
References: <FtcY5.107$ph1.7187@e420r-atl1.usenetserver.com> <macdev-F694B1.16441508122000@news.mit.edu> <e0dY5.252$ph1.14679@e420r-atl1.usenetserver.com>
User-Agent: MT-NewsWatcher/3.0 (PPC)
Date: Fri, 08 Dec 2000 17:39:52 -0500
Message-ID: <macdev-F4C632.17395208122000@news.mit.edu>
Lines: 30
NNTP-Posting-Host: DONT-GRIEVE-ADMIRAL.MIT.EDU
X-Trace: dreaderd 976315193 29571 18.18.1.86