00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00040 #ifndef LT_INTTYPES_H
00041 #define LT_INTTYPES_H 1
00043 #ifndef PRIu64
00044
00045
00046
00047
00048
00049
00050 # if !defined __cplusplus || defined __STDC_FORMAT_MACROS
00051
00052 # if __WORDSIZE == 64
00053 # define __PRI64_PREFIX "l"
00054 # define __PRIPTR_PREFIX "l"
00055 # else
00056 # define __PRI64_PREFIX "ll"
00057 # define __PRIPTR_PREFIX
00058 # endif
00059
00060 # define PRId8 "d"
00061 # define PRId16 "d"
00062 # define PRId32 "d"
00063 # define PRId64 __PRI64_PREFIX "d"
00065 # define PRIi8 "i"
00066 # define PRIi16 "i"
00067 # define PRIi32 "i"
00068 # define PRIi64 __PRI64_PREFIX "i"
00070 # define PRIo8 "o"
00071 # define PRIo16 "o"
00072 # define PRIo32 "o"
00073 # define PRIo64 __PRI64_PREFIX "o"
00075 # define PRIu8 "u"
00076 # define PRIu16 "u"
00077 # define PRIu32 "u"
00078 # define PRIu64 __PRI64_PREFIX "u"
00079
00080 # define PRIx8 "x"
00081 # define PRIx16 "x"
00082 # define PRIx32 "x"
00083 # define PRIx64 __PRI64_PREFIX "x"
00084
00085 # define PRIX8 "X"
00086 # define PRIX16 "X"
00087 # define PRIX32 "X"
00088 # define PRIX64 __PRI64_PREFIX "X"
00089
00090 # endif
00091
00092 # ifndef UINT64_MAX
00093 # if __WORDSIZE == 64
00094 # define UINT64_MAX 18446744073709551615UL
00095 # else
00096 # define UINT64_MAX 18446744073709551615ULL
00097 # endif
00098 # endif
00099
00100 #endif
00101
00102 #endif