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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[EMAIL PROTECTED]"