From owner-freebsd-arch Thu Jan 23 15:31: 9 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C28F837B401 for ; Thu, 23 Jan 2003 15:31:08 -0800 (PST) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29FDC43EB2 for ; Thu, 23 Jan 2003 15:31:08 -0800 (PST) (envelope-from eischen@pcnet1.pcnet.com) Received: from localhost (eischen@localhost) by mail.pcnet.com (8.12.3/8.12.1) with ESMTP id h0NNV7gn002213; Thu, 23 Jan 2003 18:31:07 -0500 (EST) Date: Thu, 23 Jan 2003 18:31:07 -0500 (EST) From: Daniel Eischen To: Ben Mesander Cc: Warner Losh , freebsd-arch@FreeBSD.ORG Subject: Re: _REENTRANT in math.h & libm oddities. In-Reply-To: <15920.28659.884511.537371@piglet.timing.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 23 Jan 2003, Ben Mesander wrote: > Daniel Eischen writes: > > Compiling with -D_REENTRANT doesn't mean you have to be a > > threaded program, nor automatically linked to the threads > > library :-) > > Well, fair enough. And you're right, solaris (which is where msun came > from a long time ago) still has the _REENTRANT. I should have looked at > some of the solaris machines I have accounts on. > > Does the conditional that Mike Barcroft suggested: > > #if defined(__BSD_VISIBLE) || (defined(__POSIX_VISIBLE) && defined(_REENTRANT)) > > Seem reasonable to you? I don't have a problem with it, but I'll leave it to the -standards guys to decide. -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message