summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
Diffstat (limited to 'builtin')
-rw-r--r--builtin/limits.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/builtin/limits.h b/builtin/limits.h
new file mode 100644
index 0000000000..5cbfa3e6d1
--- /dev/null
+++ b/builtin/limits.h
@@ -0,0 +1,11 @@
+/* Copyright 2020 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef __CROS_EC_LIMITS_H_
+#define __CROS_EC_LIMITS_H_
+
+#define ULONG_MAX 0xffffffffu
+
+#endif /* __CROS_EC_LIMITS_H_ */