aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-03-06 17:33:27 +0000
committerAndreas Jaeger <aj@suse.de>2000-03-06 17:33:27 +0000
commitf576429e02b369cbb4ff7dc1c3bd7e07bafc3196 (patch)
treedb22ed3ccbcf08e89b5ffa203572091704a6f026 /sysdeps
parent8ed1e7d5894000c155acbd06ffd2ba07ea9f718b (diff)
downloadglibc-f576429e02b369cbb4ff7dc1c3bd7e07bafc3196.tar
glibc-f576429e02b369cbb4ff7dc1c3bd7e07bafc3196.tar.gz
glibc-f576429e02b369cbb4ff7dc1c3bd7e07bafc3196.tar.bz2
glibc-f576429e02b369cbb4ff7dc1c3bd7e07bafc3196.zip
2000-03-06 Andreas Jaeger <aj@suse.de>
* sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error in __sgn1l, otherwise g++ fails to parse this. Reported by Sean Chen <sean.chen@turbolinux.com>.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/i386/fpu/bits/mathinline.h4
1 files changed, 2 insertions, 2 deletions
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 <bowman@math.ualberta.ca>, 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; \