summaryrefslogtreecommitdiff
path: root/src/arch/x86/include/stdint.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/include/stdint.h')
-rw-r--r--src/arch/x86/include/stdint.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/arch/x86/include/stdint.h b/src/arch/x86/include/stdint.h
index 07cae47ff9..c491f4b6e0 100644
--- a/src/arch/x86/include/stdint.h
+++ b/src/arch/x86/include/stdint.h
@@ -76,6 +76,20 @@ typedef int16_t s16;
typedef int32_t s32;
+#ifndef UINT32_MAX
+#define UINT32_MAX (4294967295U)
+#endif
+#ifndef UINT64_MAX
+# define UINT64_MAX (18446744073709551615ULL)
+#endif
+#ifndef UINT64_C
+#define UINT64_C(c) c ## ULL
+#endif
+#ifndef PRIu64
+#define PRIu64 "llu"
+#endif
+
+
#undef __HAVE_LONG_LONG__
#endif /* I386_STDINT_H */