summaryrefslogtreecommitdiff
path: root/util/ifdtool
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2012-05-14 13:21:08 -0700
committerPatrick Georgi <patrick@georgi-clan.de>2012-05-25 08:00:44 +0200
commit0e740d3952c978babe7f6b7b8110113170b02c08 (patch)
tree95b14b2e4ae655f518fac9ebc0b6d9a768dc56ef /util/ifdtool
parent1b1309f289d6fc9f6ec348686665d25218535030 (diff)
downloadcoreboot-0e740d3952c978babe7f6b7b8110113170b02c08.tar.xz
Fix size_t for certain versions of GCC
When compiling coreboot with the latest ChromeOS toolchain, GCC complains that some printk calls use %zu in connection with size_t types since it resolves the typedefs to long unsigned int. The problem is solved by using the GCC built-in __SIZE_TYPE__ if it exists and define __SIZE_TYPE__ to long unsigned int otherwise. Change-Id: I449c3d385b5633a05e57204704e981de6e017b86 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/1040 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'util/ifdtool')
0 files changed, 0 insertions, 0 deletions