Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!gorodish!guy From: guy%gorodish@Sun.COM (Guy Harris) Newsgroups: comp.lang.c Subject: Re: Prototyping macros Message-ID: <30793@sun.uucp> Date: Tue, 13-Oct-87 14:35:27 EDT Article-I.D.: sun.30793 Posted: Tue Oct 13 14:35:27 1987 Date-Received: Thu, 15-Oct-87 00:53:30 EDT References: <8652@utzoo.UUCP> <69800001@cdp> <2450@mmintl.UUCP> <947@cup.portal.com> Sender: news@sun.uucp Lines: 9 > Is it possible to do something like: > > #define max(int a, int b) (a>b ? a : b) No. This would require the preprocessor, in compilers that use one, to know a *lot* more about C than current preprocessors tend to know. Guy Harris {ihnp4, decvax, seismo, decwrl, ...}!sun!guy guy@sun.com