summaryrefslogtreecommitdiff
path: root/builtin/stdint.h
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/stdint.h')
-rw-r--r--builtin/stdint.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/builtin/stdint.h b/builtin/stdint.h
index b82268b409..fe4a92e2ea 100644
--- a/builtin/stdint.h
+++ b/builtin/stdint.h
@@ -44,4 +44,11 @@ typedef uint8_t uint_least8_t;
#define INT32_MAX (2147483647U)
#endif
+#ifndef UINT64_C
+#define UINT64_C(c) c ## ULL
+#endif
+#ifndef INT64_C
+#define INT64_C(c) c ## LL
+#endif
+
#endif /* __CROS_EC_STDINT_H__ */