Newsgroups: comp.sys.mac.programmer
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!van-bc!bradk
From: bradk@van-bc.wimsey.bc.ca (Brad Kollmyer)
Subject: Re: Question for THINK C gurus
Organization: Wimsey Associates
Date: Mon, 01 Apr 1991 08:53:12 GMT
Message-ID: <1991Apr01.085312.958@van-bc.wimsey.bc.ca>
References: <3142@murtoa.cs.mu.oz.au>

In article <3142@murtoa.cs.mu.oz.au> rob@cs.mu.oz.au (Robert Wallen) writes:
>#if defined(APPL) || defined(DESKACC) || defined(DRIVER) || defined(RSRC)
>#endif

This would be a great feature, but is not available. I've had to resort
to defining a constant in one of my header files. For example I have two
projects TestApp.p, and TestDA.p. I also have folders called (TestApp.p)
and (TestDA.p) in the project tree. In each of these folders I have
a Config.h, one defines DeskAcc, and the other definces Application.
This is the best way I've been able to come up with.

Brad Kollmyer
bradk@wimsey.bc.ca
