mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-11 07:40:05 +00:00
Check __x86_64__ instead of __WORDSIZE for fenv_t
This commit is contained in:
parent
5e52b189f0
commit
490df6c441
@ -1,3 +1,8 @@
|
||||
2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
|
||||
(fenv_t): Check __x86_64__ instead of __WORDSIZE.
|
||||
|
||||
2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user