gz@spt.entity.com (Gail Zacharias) (08/22/88)
What's the recommended way for a Mac program to tell if it's running under the A/UX toolbox emulation? -- gz@entity.com ...!mit-eddie!spt!gz Unix: when you can't afford the very best.
dwb@Apple.COM (David W. Berry) (08/23/88)
In article <183@spt.entity.com> gz@spt.entity.com (Gail Zacharias) writes: >What's the recommended way for a Mac program to tell if it's running >under the A/UX toolbox emulation? #define HWCfgFlags (* (unsigned short *) 0xb22) #define cfgAUXActive 0x200 Boolean AUXActive() { return (HWCfgFlags & cfgAUXActive) == cfgAUXActive; } > >-- >gz@entity.com ...!mit-eddie!spt!gz > Unix: when you can't afford the very best. Opinions: MINE, ALL MINE! (greedy evil chuckle) David W. Berry apple!dwb@sun.com dwb@apple.com 973-5168@408.MaBell