[cfe-commits] r53922 - /cfe/trunk/lib/Basic/Targets.cpp
Anders Carlsson
andersca at mac.com
Tue Jul 22 10:16:14 PDT 2008
Author: andersca
Date: Tue Jul 22 12:16:13 2008
New Revision: 53922
URL: http://llvm.org/viewvc/llvm-project?rev=53922&view=rev
Log:
Always define __SIZE_TYPE__ as long unsigned int.
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=53922&r1=53921&r2=53922&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Tue Jul 22 12:16:13 2008
@@ -225,15 +225,14 @@
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");
More information about the cfe-commits
mailing list