From 627dd13623b57196ceee6fac9828d8e414dba1d5 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Tue, 14 Feb 2017 13:58:03 -0800 Subject: [PATCH] stdlib: Add INT_MAX Change-Id: I985c68fce91241acdd2370e00c6871f1ac4d6c37 Signed-off-by: William A. Kennington III Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36502 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell --- src/include/limits.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/include/limits.h b/src/include/limits.h index 6afbe21c98e..946343def59 100644 --- a/src/include/limits.h +++ b/src/include/limits.h @@ -5,7 +5,10 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,2017 */ +/* [+] Google Inc. */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -31,4 +34,6 @@ #define PAGESIZE (4*KILOBYTE) /**< 4 KB */ #define PAGE_SIZE PAGESIZE +#define INT_MAX __INT_MAX__ + #endif