]> sourceware.org Git - glibc.git/commitdiff
Check __x86_64__ instead of __WORDSIZE for fenv_t
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 19 Mar 2012 23:10:51 +0000 (16:10 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 19 Mar 2012 23:10:51 +0000 (16:10 -0700)
ChangeLog
sysdeps/x86_64/fpu/bits/fenv.h

index 7c4968a703146ad554c5faab9d3b81562af1f667..bb13f6d36f6d4fff7bc575277a3e9822f104930c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>.
index 502437676dd3f3b09663461d02cd8df3f0766258..bb790c936a134d3c6a8247362d405da2f728a871 100644 (file)
@@ -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
   }
This page took 0.042393 seconds and 5 git commands to generate.