Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2003 18:31:07 -0500 (EST)
From:      Daniel Eischen <eischen@pcnet1.pcnet.com>
To:        Ben Mesander <ben@timing.com>
Cc:        Warner Losh <imp@harmony.village.org>, freebsd-arch@FreeBSD.ORG
Subject:   Re: _REENTRANT in math.h & libm oddities. 
Message-ID:  <Pine.GSO.4.10.10301231830240.2103-100000@pcnet1.pcnet.com>
In-Reply-To: <15920.28659.884511.537371@piglet.timing.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10301231830240.2103-100000>