]> git.ipfire.org Git - thirdparty/glibc.git/blame - sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
2.5-18.1
[thirdparty/glibc.git] / sysdeps / unix / sysv / linux / powerpc / bits / wordsize.h
CommitLineData
0ecb606c
JJ
1/* Determine the wordsize from the preprocessor defines. */
2
3#if defined __powerpc64__
4# define __WORDSIZE 64
5# define __WORDSIZE_COMPAT32 1
6#else
7# define __WORDSIZE 32
8#endif
9
10#if !defined __NO_LONG_DOUBLE_MATH && !defined __LONG_DOUBLE_MATH_OPTIONAL
11
12/* Signal the glibc ABI 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