Back to index

glibc  2.9
wordsize.h
Go to the documentation of this file.
00001 /* Determine the wordsize from the preprocessor defines.  */
00002 
00003 #if defined __arch64__ || defined __sparcv9
00004 # define __WORDSIZE  64
00005 #else
00006 # define __WORDSIZE  32
00007 #endif
00008 
00009 #if !defined __NO_LONG_DOUBLE_MATH && !defined __LONG_DOUBLE_MATH_OPTIONAL
00010 
00011 # if __WORDSIZE == 32
00012 /* Signal that in 32bit ABI we didn't used to have a `long double'.
00013    The changes all the `long double' function variants to be redirects
00014    to the double functions.  */
00015 #  define __LONG_DOUBLE_MATH_OPTIONAL   1
00016 #  ifndef __LONG_DOUBLE_128__
00017 #   define __NO_LONG_DOUBLE_MATH        1
00018 #  endif
00019 # endif
00020 #endif