wordsize.h 554 B

12345678910111213141516171819
  1. /* Determine the wordsize from the preprocessor defines. */
  2. #if defined __powerpc64__
  3. # define __WORDSIZE 64
  4. # define __WORDSIZE_COMPAT32 1
  5. #else
  6. # define __WORDSIZE 32
  7. #endif
  8. #if defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ && !defined __LONG_DOUBLE_MATH_OPTIONAL
  9. /* Signal the glibc ABI didn't used to have a `long double'.
  10. The changes all the `long double' function variants to be redirects
  11. to the double functions. */
  12. # define __LONG_DOUBLE_MATH_OPTIONAL 1
  13. # ifndef __LONG_DOUBLE_128__
  14. # undef __UCLIBC_HAS_LONG_DOUBLE_MATH__
  15. # endif
  16. #endif