diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-03-19 16:10:51 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-03-19 16:10:51 -0700 |
commit | 490df6c44152fb9f4ade4963c60dfd82025ff2eb (patch) | |
tree | a9bf6ac0322a27ee1560d08889cc2fe0ed755c77 /sysdeps/x86_64/fpu/bits/fenv.h | |
parent | 5e52b189f0a3b74605044950f40fca8d289a200c (diff) | |
download | glibc-490df6c44152fb9f4ade4963c60dfd82025ff2eb.tar.gz glibc-490df6c44152fb9f4ade4963c60dfd82025ff2eb.tar.xz glibc-490df6c44152fb9f4ade4963c60dfd82025ff2eb.zip |
Check __x86_64__ instead of __WORDSIZE for fenv_t
Diffstat (limited to 'sysdeps/x86_64/fpu/bits/fenv.h')
-rw-r--r-- | sysdeps/x86_64/fpu/bits/fenv.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sysdeps/x86_64/fpu/bits/fenv.h b/sysdeps/x86_64/fpu/bits/fenv.h index 502437676d..bb790c936a 100644 --- a/sysdeps/x86_64/fpu/bits/fenv.h +++ b/sysdeps/x86_64/fpu/bits/fenv.h @@ -19,9 +19,6 @@ # error "Never use <bits/fenv.h> directly; include <fenv.h> instead." #endif -#include <bits/wordsize.h> - - /* 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 } |