commit | f7b30808f38eb236622902bfd93626dab4dbbb61 | [log] [tgz] |
---|---|---|
author | Patrick Georgi <patrick.georgi@secunet.com> | Tue Jul 12 15:02:04 2011 +0200 |
committer | Patrick Georgi <patrick@georgi-clan.de> | Sat Jul 16 11:09:28 2011 +0200 |
tree | c8661aee54eb390a40b0000115d7cc321af63b65 | |
parent | 229f7cb6d660ad4063c9f65e3fabfff80583f281 [diff] [blame] |
libpayload: Improve compatibility Define INT_MAX, EOF and make sure size_t is available. Change-Id: I1b4b717d2545ea8312ec52339300307a5bd68f8a Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com> Reviewed-on: http://review.coreboot.org/104 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
diff --git a/payloads/libpayload/include/limits.h b/payloads/libpayload/include/limits.h index be7dde0..2fecf23 100644 --- a/payloads/libpayload/include/limits.h +++ b/payloads/libpayload/include/limits.h
@@ -41,5 +41,6 @@ #endif #define UINT_MAX (unsigned int)0xffffffff +#define INT_MAX (unsigned int)0x7fffffff #endif