summaryrefslogtreecommitdiff
path: root/include/lib/libc/limits.h
diff options
context:
space:
mode:
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>2018-08-17 10:45:47 +0100
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>2018-08-22 10:26:05 +0100
commit27989a8e34a44ff8e6a2e5b011123a09fd8a82c7 (patch)
treeac823ae747872ad9e3868f94cc0e6f6602dfeb42 /include/lib/libc/limits.h
parent2c5aca6eaab998271ab17792486cf67dd2e67711 (diff)
libc: Introduce files from SCC
Taken from http://git.simple-cc.org/scc/ from the following commit: 67508ad14af314cea2229783d3c084f28c41daf0 Permission has been granted from the author to use them under the license BSD-3-Clause instead of ISC. Change-Id: I65c0ce3ab60c49d34a57533af12a74bd7bde88e5 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'include/lib/libc/limits.h')
-rw-r--r--include/lib/libc/limits.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/lib/libc/limits.h b/include/lib/libc/limits.h
new file mode 100644
index 00000000..df1a963d
--- /dev/null
+++ b/include/lib/libc/limits.h
@@ -0,0 +1,15 @@
+/*
+ * Copyright (c) 2012-2017 Roberto E. Vargas Caballero
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#ifndef _LIMITS_H
+#define _LIMITS_H
+
+#include <arch/limits.h>
+
+#define CHAR_BIT 8
+#define MB_LEN_MAX 1
+
+#endif