forked from OSchip/llvm-project
Always define __SIZE_TYPE__ as long unsigned int.
llvm-svn: 53922
This commit is contained in:
parent
5dd9c0eaf6
commit
35a56368be
|
@ -225,15 +225,14 @@ static void getX86Defines(std::vector<char> &Defs, bool is64Bit) {
|
|||
Define(Defs, "__LONG_MAX__", "9223372036854775807L");
|
||||
Define(Defs, "__PTRDIFF_TYPE__", "long int");
|
||||
Define(Defs, "__UINTMAX_TYPE__", "long unsigned int");
|
||||
Define(Defs, "__SIZE_TYPE__", "long unsigned int");
|
||||
} else {
|
||||
Define(Defs, "__INTMAX_MAX__", "9223372036854775807LL");
|
||||
Define(Defs, "__INTMAX_TYPE__", "long long int");
|
||||
Define(Defs, "__LONG_MAX__", "2147483647L");
|
||||
Define(Defs, "__PTRDIFF_TYPE__", "int");
|
||||
Define(Defs, "__UINTMAX_TYPE__", "long long unsigned int");
|
||||
Define(Defs, "__SIZE_TYPE__", "unsigned int");
|
||||
}
|
||||
Define(Defs, "__SIZE_TYPE__", "long unsigned int");
|
||||
Define(Defs, "__CHAR_BIT__", "8");
|
||||
Define(Defs, "__INT_MAX__", "2147483647");
|
||||
Define(Defs, "__LONG_LONG_MAX__", "9223372036854775807LL");
|
||||
|
|
Loading…
Reference in New Issue