From: H.J. Lu Date: Mon, 19 Mar 2012 23:10:51 +0000 (-0700) Subject: Check __x86_64__ instead of __WORDSIZE for fenv_t X-Git-Tag: glibc-2.16-tps~750 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=490df6c44152fb9f4ade4963c60dfd82025ff2eb;p=platform%2Fupstream%2Fglibc.git Check __x86_64__ instead of __WORDSIZE for fenv_t --- diff --git a/ChangeLog b/ChangeLog index 7c4968a..bb13f6d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,11 @@ 2012-03-19 H.J. Lu * sysdeps/x86_64/bits/mathdef.h: Don't include . + (fenv_t): Check __x86_64__ instead of __WORDSIZE. + +2012-03-19 H.J. Lu + + * sysdeps/x86_64/bits/mathdef.h: Don't include . Check __x86_64__ instead of __WORDSIZE. 2012-03-19 H.J. Lu diff --git a/sysdeps/x86_64/fpu/bits/fenv.h b/sysdeps/x86_64/fpu/bits/fenv.h index 5024376..bb790c9 100644 --- a/sysdeps/x86_64/fpu/bits/fenv.h +++ b/sysdeps/x86_64/fpu/bits/fenv.h @@ -19,9 +19,6 @@ # error "Never use directly; include instead." #endif -#include - - /* Define bits representing the exception. We use the bit positions of the appropriate bits in the FPU control word. */ enum @@ -81,7 +78,7 @@ typedef struct unsigned int __data_offset; unsigned short int __data_selector; unsigned short int __unused5; -#if __WORDSIZE == 64 +#ifdef __x86_64__ unsigned int __mxcsr; #endif }