about summary refs log tree commit diff
path: root/sysdeps/x86_64/bits
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-03-19 16:00:52 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-03-19 16:00:52 -0700
commit5e52b189f0a3b74605044950f40fca8d289a200c (patch)
tree9179a335402e392f08adb9c36700ab9ac3fa1a56 /sysdeps/x86_64/bits
parente1497744f0b7a737684e61509874d3b8a98d05e2 (diff)
downloadglibc-5e52b189f0a3b74605044950f40fca8d289a200c.tar.gz
glibc-5e52b189f0a3b74605044950f40fca8d289a200c.tar.xz
glibc-5e52b189f0a3b74605044950f40fca8d289a200c.zip
Check __x86_64__ instead of __WORDSIZE in mathdef.h
Diffstat (limited to 'sysdeps/x86_64/bits')
-rw-r--r--sysdeps/x86_64/bits/mathdef.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/x86_64/bits/mathdef.h b/sysdeps/x86_64/bits/mathdef.h
index 846a350a0e..c202ad5928 100644
--- a/sysdeps/x86_64/bits/mathdef.h
+++ b/sysdeps/x86_64/bits/mathdef.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001, 2004, 2010 Free Software Foundation, Inc.
+/* Copyright (C) 2001-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -22,9 +22,7 @@
 #if defined __USE_ISOC99 && defined _MATH_H && !defined _MATH_H_MATHDEF
 # define _MATH_H_MATHDEF	1
 
-# include <bits/wordsize.h>
-
-# if __WORDSIZE == 64 || (defined __FLT_EVAL_METHOD__ && __FLT_EVAL_METHOD__ == 0)
+# if defined __x86_64__ || (defined __FLT_EVAL_METHOD__ && __FLT_EVAL_METHOD__ == 0)
 /* The x86-64 architecture computes values with the precission of the
    used type.  Similarly for -m32 -mfpmath=sse.  */
 typedef float float_t;		/* `float' expressions are evaluated as `float'.  */