From owner-freebsd-current Tue Apr 9 01:09:43 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA20333 for current-outgoing; Tue, 9 Apr 1996 01:09:43 -0700 (PDT) Received: from mail.think.com (Mail1.Think.COM [131.239.33.245]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id BAA20328 for ; Tue, 9 Apr 1996 01:09:40 -0700 (PDT) Received: from Early-Bird-1.Think.COM by mail.think.com; Tue, 9 Apr 96 04:09:38 -0400 Received: from compound.think.com ([206.10.99.151]) by Early-Bird.Think.COM; Tue, 9 Apr 96 04:09:35 EDT Received: (from alk@localhost) by compound.think.com (8.7.5/8.6.112) id DAA02560; Tue, 9 Apr 1996 03:09:53 -0500 (CDT) Date: Tue, 9 Apr 1996 03:09:53 -0500 (CDT) Message-Id: <199604090809.DAA02560@compound.think.com> From: Tony Kimball To: current@freebsd.org Subject: suggestion for lib/libc/i386/DEFS.h Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 */ ... #define ENTRY(x) _START_ENTRY \ .globl __concat(_,x); .type __concat(_,x),@function; __concat(_,x):; \ _MID_ENTRY \ call mcount; 9: