Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2006 19:06:02 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        freebsd-emulation@FreeBSD.org
Cc:        freebsd-usb@FreeBSD.org, Juergen Lock <qemu-l@jelal.kn-bremen.de>, qemu-devel@nongnu.org
Subject:   Re: FreeBSD qemu 0.8.2 update - please test! (and usb cardreader SET_ADDR_FAILED)
Message-ID:  <200607251906.10687.jkim@FreeBSD.org>
In-Reply-To: <20060725174719.GA16116@saturn.kn-bremen.de>
References:  <20060723224041.GA20196@saturn.kn-bremen.de> <20060725174719.GA16116@saturn.kn-bremen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 25 July 2006 01:47 pm, Juergen Lock wrote:
> @@ -47,21 +43,20 @@
>   void set_float_rounding_mode(int val STATUS_PARAM)
>   {
>       STATUS(float_rounding_mode) = val;
> --#if defined(_BSD) && !defined(__APPLE__)
> -+#if defined(_BSD) && !defined(__APPLE__) && \
> -+    (defined(__FreeBSD__) && __FreeBSD_version < 500000)
> +-#if defined(_BSD) && !defined(__APPLE__) || (defined(HOST_SOLARIS) && HOST_SOLARIS < 10)
> ++#if (defined(_BSD) && (defined(__FreeBSD__) && __FreeBSD_version < 500000)) && !defined(__APPLE__) || (defined(HOST_SOLARIS) && HOST_SOLARIS < 10)
> fpsetround(val);
>   #elif defined(__arm__)
>       /* nothing to do */

FYI, a parenthesis is misplaced (Note: I just rearranged
the order to be more clearer):

+-#if defined(_BSD) && !defined(__APPLE__) || (defined(HOST_SOLARIS) && HOST_SOLARIS < 10)
++#if (defined(_BSD) && !defined(__APPLE__) && (defined(__FreeBSD__) && __FreeBSD_version < 500000)) || \
++    (defined(HOST_SOLARIS) && HOST_SOLARIS < 10)

Actually it is an upstream bug, though.

Thanks,

Jung-uk Kim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607251906.10687.jkim>