From owner-freebsd-current Tue Apr 9 08:09:53 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA17309 for current-outgoing; Tue, 9 Apr 1996 08:09:53 -0700 (PDT) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id IAA17298 Tue, 9 Apr 1996 08:09:39 -0700 (PDT) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.7.5/8.6.12) with ESMTP id IAA00897; Tue, 9 Apr 1996 08:09:19 -0700 (PDT) Message-Id: <199604091509.IAA00897@austin.polstra.com> To: alk@Think.COM Cc: peter@freebsd.org, current@freebsd.org Subject: Re: suggestion for lib/libc/i386/DEFS.h In-reply-to: <199604090809.DAA02560@compound.think.com> Date: Tue, 09 Apr 1996 08:09:19 -0700 From: John Polstra Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Tony Kimball wrote: > It would be nice if the as macros would work with ANSI cpp, as for > example: > > #ifndef __concat > #ifdef __STDC__ > #define __CONCAT(a,b) a##b > #define __concat(a,b) __CONCAT(a,b) > #else /* ! __STDC__ */ > #define __concat(a,b) a/**/b > #endif /* __STDC__ */ > #endif /* def __concat */ > ... Changes along these lines are in fact going into -current Real Soon Now. I made the changes locally some time ago, in connection with ELF support. Peter Wemm has since then modified my changes so that they can be merged into -current. He's also incorporated a few suggestions from Bruce Evans, one of which was to use the __CONCAT macro already defined in . (That one _does_ work with an ANSI cpp.) I think Peter plans to commit this stuff, when he gets around to it. -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth