summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2017-02-14 13:58:03 -0800
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-02-16 14:58:20 -0500
commit627dd13623b57196ceee6fac9828d8e414dba1d5 (patch)
treeb6cbd43977ba2e30760b3741660bfcaad562b829
parent7a33c5bee42f449c7fa7077a3b9cab8167cde267 (diff)
downloadtalos-hostboot-627dd13623b57196ceee6fac9828d8e414dba1d5.tar.gz
talos-hostboot-627dd13623b57196ceee6fac9828d8e414dba1d5.zip
stdlib: Add INT_MAX
Change-Id: I985c68fce91241acdd2370e00c6871f1ac4d6c37 Signed-off-by: William A. Kennington III <wak@google.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36502 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
-rw-r--r--src/include/limits.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/limits.h b/src/include/limits.h
index 6afbe21c9..946343def 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
OpenPOWER on IntegriCloud