From f576429e02b369cbb4ff7dc1c3bd7e07bafc3196 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 6 Mar 2000 17:33:27 +0000 Subject: 2000-03-06 Andreas Jaeger * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error in __sgn1l, otherwise g++ fails to parse this. Reported by Sean Chen . --- sysdeps/i386/fpu/bits/mathinline.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdeps/i386/fpu/bits') diff --git a/sysdeps/i386/fpu/bits/mathinline.h b/sysdeps/i386/fpu/bits/mathinline.h index eea2a385c3..7724443414 100644 --- a/sysdeps/i386/fpu/bits/mathinline.h +++ b/sysdeps/i386/fpu/bits/mathinline.h @@ -1,5 +1,5 @@ /* Inline math functions for i387. - Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1995,96,97,98,99,2000 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by John C. Bowman , 1995. @@ -455,7 +455,7 @@ __inline_mathcode (asin, __x, return __atan2l (__x, __sqrtl (1.0 - __x * __x))) __inline_mathcode (acos, __x, return __atan2l (__sqrtl (1.0 - __x * __x), __x)) __inline_mathcode_ (long double, __sgn1l, __x, \ - union { long double __xld; unsigned int __xi[3]; } __n = { .__xld = __x }; \ + union { long double __xld; unsigned int __xi[3]; } __n = { __xld: = __x }; \ __n.__xi[2] = (__n.__xi[2] & 0x8000) | 0x3fff; \ __n.__xi[1] = 0x80000000; \ __n.__xi[0] = 0; \ -- cgit v1.2.3