mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 22:40:05 +00:00
Check __x86_64__ instead of __WORDSIZE in mathdef.h
This commit is contained in:
parent
e1497744f0
commit
5e52b189f0
@ -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>.
|
||||
Check __x86_64__ instead of __WORDSIZE.
|
||||
|
||||
2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
|
||||
|
@ -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'. */
|
||||
|
Loading…
Reference in New Issue
Block a user