blob: 2d958d29e576b6d0ac05e9dcc5534c2aab62dc9b [file] [log] [blame]
/* Determine the wordsize from the preprocessor defines. */
#if defined __arch64__ || defined __sparcv9
# define __WORDSIZE 64
#else
# define __WORDSIZE 32
#endif
#if !defined __NO_LONG_DOUBLE_MATH && !defined __LONG_DOUBLE_MATH_OPTIONAL
# if __WORDSIZE == 32
/* Signal that in 32bit ABI we didn't used to have a `long double'.
The changes all the `long double' function variants to be redirects
to the double functions. */
# define __LONG_DOUBLE_MATH_OPTIONAL 1
# ifndef __LONG_DOUBLE_128__
# define __NO_LONG_DOUBLE_MATH 1
# endif
# endif
#endif