wordsize.h 646 B

123456789101112131415161718192021
  1. /* Determine the wordsize from the preprocessor defines. */
  2. #if defined __arch64__ || defined __sparcv9
  3. # define __WORDSIZE 64
  4. # define __WORDSIZE_TIME64_COMPAT32 1
  5. #else
  6. # define __WORDSIZE 32
  7. #endif
  8. #if 0 /* uClibc: done in mathdefs.h: !defined __NO_LONG_DOUBLE_MATH && !defined __LONG_DOUBLE_MATH_OPTIONAL*/
  9. # if __WORDSIZE == 32
  10. /* Signal that in 32bit ABI we didn't used to have a `long double'.
  11. The changes all the `long double' function variants to be redirects
  12. to the double functions. */
  13. # define __LONG_DOUBLE_MATH_OPTIONAL 1
  14. # ifndef __LONG_DOUBLE_128__
  15. # define __NO_LONG_DOUBLE_MATH 1
  16. # endif
  17. # endif
  18. #endif