wordsize.h 608 B

1234567891011121314151617181920
  1. /* Determine the wordsize from the preprocessor defines. */
  2. #if defined __arch64__ || defined __sparcv9
  3. # define __WORDSIZE 64
  4. #else
  5. # define __WORDSIZE 32
  6. #endif
  7. #if 0 /* uClibc: done in mathdefs.h: !defined __NO_LONG_DOUBLE_MATH && !defined __LONG_DOUBLE_MATH_OPTIONAL*/
  8. # if __WORDSIZE == 32
  9. /* Signal that in 32bit ABI we 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. # define __NO_LONG_DOUBLE_MATH 1
  15. # endif
  16. # endif
  17. #endif