home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!rutgers!concert!sas!mozart.unx.sas.com!walker
- From: walker@twix.unx.sas.com (Doug Walker)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: SAS/C 6.0 Details (LONG!)
- Message-ID: <Btn924.90B@unx.sas.com>
- Date: 27 Aug 92 13:20:28 GMT
- References: <fgd3.01rf@nifty.UUCP> <1992Aug26.171035.532@pixel.kodak.com>
- Sender: news@unx.sas.com (Noter of Newsworthy Events)
- Organization: SAS Institute Inc.
- Lines: 36
- Originator: walker@twix.unx.sas.com
- Nntp-Posting-Host: twix.unx.sas.com
-
-
- In article <1992Aug26.171035.532@pixel.kodak.com>, jeh@raster.kodak.com (Ed Hanway) writes:
- |> Fabbian G. Dufoe, III (fgd3@nifty.UUCP) wrote:
- |> The only problem I encountered with this is that the ARP includes conflicted
- |> with some of the 2.0 asl includes, and perhaps some dos includes as well.
- |> Since the ARP code was limited to a single source file, this wasn't much of
- |> a problem.
-
- There is a trick you can use to combat this problem. Let's say you
- need to use the ASL file requester but still need to include the arp
- stuff. The problem is that they both define a struct FileRequest.
-
- No problem:
-
- #define FileRequest ASLFileRequest
- #include <asl stuff>
- #undef FileRequest
-
- #define FileRequest ARPFileRequest
- #include <arp stuff>
- #undef FileRequest
-
- Now you have two different structure definitions, ASLFileRequest and
- ARPFileRequest, and you can use either or both of them.
-
- |> --
- |> Ed Hanway --- jeh@raster.kodak.com
-
- --
- *****
- =*|_o_o|\\=====Doug Walker, Software Distiller====== BBS: (919)460-7430 =
- *|. o.| || 1200/2400/9600 Dual
- | o |// For all you do, this bug's for you!
- ======
- usenet: walker@unx.sas.com bix: djwalker
- Any opinions expressed are mine, not those of SAS Institute, Inc.
-