Date: Thu, 24 Oct 1996 14:36:24 +0200 (IST) From: Eli Zaretskii To: "John M. Aldrich" Cc: djgpp AT delorie DOT com Subject: Re: Borland library macro equivalent? In-Reply-To: <326EE107.1659@cs.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 23 Oct 1996, John M. Aldrich wrote: > > #define max(a,b) ({ typeof(a) _tmp_a = (a); \ > > typeof(b) _tmp_b = (b); \ > > (_tmp_a > _tmp_b) ? _tmp_a : _tmp_b; }) > > Is that C or C++ you're talking about? That's C. C++ has another neat extension: the >? operator.