2.9
[glibc/nacl-glibc.git] / sysdeps / unix / sysv / linux / sparc / bits / wordsize.h
blob2d958d29e576b6d0ac05e9dcc5534c2aab62dc9b
1 /* Determine the wordsize from the preprocessor defines. */
3 #if defined __arch64__ || defined __sparcv9
4 # define __WORDSIZE 64
5 #else
6 # define __WORDSIZE 32
7 #endif
9 #if !defined __NO_LONG_DOUBLE_MATH && !defined __LONG_DOUBLE_MATH_OPTIONAL
11 # if __WORDSIZE == 32
12 /* Signal that in 32bit ABI we didn't used to have a `long double'.
13 The changes all the `long double' function variants to be redirects
14 to the double functions. */
15 # define __LONG_DOUBLE_MATH_OPTIONAL 1
16 # ifndef __LONG_DOUBLE_128__
17 # define __NO_LONG_DOUBLE_MATH 1
18 # endif
19 # endif
20 #endif